[Novalug] ubuntu problem with repositories
Jon LaBadie
novalugml@jgcomp.com
Thu Feb 23 12:07:23 EST 2012
On Wed, Feb 22, 2012 at 08:35:18PM +0000, jecottrell3@comcast.net wrote:
> Here's one....
>
> test -w /
>
> is a quick and dirty indication of whether or not you are root.
>
> There are two ways it can fail, of course.
>
Does that include not realizing you need to check the exit status ($?)
jl
--
Jon H. LaBadie novalugml@jgcomp.com
11226 South Shore Rd (703) 787-0688 (H)
Reston, VA 20190 (609) 477-8330 (C)
More information about the Novalug
mailing list