NetBSD-Users archive

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

Re: can't find ping, route and ifconfig commands.



On Fri, 12 Jun 2020 at 11:14, Johnny Billquist <bqt%update.uu.se@localhost> wrote:

> However, most users by default don't have /sbin and /usr/sbin in their
> path, so you need to add that, or else run the programs using an
> explicit path.
>

How's that possible?

oc@NetBSD:/home/oc$ grep sbin /etc/skel/.profile
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin
PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
oc@NetBSD:/home/oc$ grep sbin /etc/skel/.cshrc
set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R7/bin,pkg/{,s}bin,games} \


-- 
Ottavio Caruso


Home | Main Index | Thread Index | Old Index