[sllug-members]: Re: CHMOD Big Oops!

Stuart Jansen sjansen at buscaluz.org
Tue Oct 31 14:53:56 MST 2006


On Tue, 2006-10-31 at 12:29 -0700, Corey Edwards wrote:
> > > apt-get install -f -s --reinstall `dpkg --get-selections | grep 
> > > '        install' | cut -f 1`

> Make sure you're using backticks (on your keyboard it's under the tilde)
> and not single quotes. The two backticks are before "dpkg" and after
> "cut -f 1".

Which is why $() was invented.

apt-get install -f -s --reinstall $(dpkg --get-selections | grep '
install' | cut -f 1)

-- 
Stuart Jansen              e-mail/jabber: sjansen at buscaluz.org
                           google talk:   stuart.jansen at gmail.com

"However beautiful the strategy, you should occasionally look at 
the results." -- Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://sllug.org/pipermail/sllug-members/attachments/20061031/8d84498f/attachment.pgp


More information about the sllug-members mailing list