[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /sbin vs /bin



On Thu 28 Jul 2022 at 22:37:39 (-0500), Igor Korot wrote:
> According to https://packages.debian.org/cgi-bin/search_contents.pl?word=ldconfig&searchmode=searchfiles&case=insensitive&version=stable&arch=i386,
> 
> ld config is located inside /sbin and it is installed through the libc-bin.
> 
> Trying to run ldconfig gives "No such file or directory"
> Running "apt install libc-bin" says "Its installed and already a latest
> version"
> Only running "/sbin/ldconfig" makes it run.
> 
> Is "/sbin" not in the default PATH variable?

For an ordinary user: no.

For root: yes.

Cheers,
David.


Reply to: