Where is lsof?

Alan Evans ame.fedora at gmail.com
Tue May 5 16:30:17 UTC 2009


On Tue, May 5, 2009 at 8:13 AM, Mikkel L. Ellertson wrote:
> Alan Evans wrote:
>>
>> How is that going to work if /usr/sbin isn't already in your path?
>>
> It does work. Try it yourself.
>
> $ which lsof
> /usr/sbin/lsof
> $ echo $PATH
> /usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mikkel/bin

I suppose that this is where I, showing incredible restraint, refrain
from pointing and laughing.

What nobody has mentioned yet is that, as of F10, the sbin directories
are defaulted in the paths of mere mortals. So this particular problem
should be obsoleted going forward.




More information about the fedora-list mailing list