[ubuntu-uk] Post install additions

Mac Ammonius.Grammaticus at googlemail.com
Tue Jun 24 22:17:49 BST 2008

Tony Arnold wrote:
> sudo aptitude install `grep -v '^#' packages`

Tony >>> I'm very new to bash scripting, so can I just check...

Am I right in thinking that

grep -v '^#'

means 'print lines that do not start with #'

So I take it you rem out some lines in the packages file, and this 
expression ignores them?

(And am I right in thinking that the ` ` signs around the expression 
after "install" are produced by the key to the left of the 1/! key on 
the top line of the keyboard?)



More information about the ubuntu-uk mailing list