I need to remove/ uninstall the list of packages those are found with the grep command.
pratap@PRATAP:~$ sudo apt list --installed | grep plymouth
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libplymouth4/bionic-updates,now 0.9.3-1ubuntu7.18.04.1 amd64 [installed]
plymouth/bionic-updates,now 0.9.3-1ubuntu7.18.04.1 amd64 [installed]
plymouth-label/bionic-updates,now 0.9.3-1ubuntu7.18.04.1 amd64 [installed]
plymouth-theme-ubuntu-logo/bionic-updates,now 0.9.3-1ubuntu7.18.04.1 amd64 [installed]
plymouth-theme-ubuntu-text/bionic-updates,now 0.9.3-1ubuntu7.18.04.1 amd64 [installed]
pratap@PRATAP:~$
I want to uninstall the above packages immediately once the above command is executed.
How can I achieve this?