On Thursday 06 January 2011 10:53 AM, Raghu Prasad
wrote:
cat pkgs_to_remove.txt | xargs apt-get remove
Xargs looks like a nice command. Thanks!
Very useful in running the same command over a list of lines in a text
file.
Yes, though the "cat" there is superfluous:
xargs apt-get remove < pkgs_to_remove.txt
Also see: