2011/1/6 Rony <[email protected]>: > 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: http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat Binand -- http://mm.glug-bom.org/mailman/listinfo/linuxers

