NetBSD-Users archive

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

Re: pkg_add and ls not working



On Wed, 11 Jul 2012, Roelof Wobben wrote:

> I did a clean install of 5.1 version of NetBSD.
> 
> Everything went without any problem.
> 
>  
> 
> But now when I do pkg_add or pkg-admin or ls I get a file not found.
> 
> The only thing which is working is the pwd command.

Well it sounds like you were able to login and you are running a shell.

Maybe your path got changed some how.

echo /bin/l*

/bin/ls

echo $PATH

PATH=/bin:/usr/bin

/usr/sbin/pkg_info


Home | Main Index | Thread Index | Old Index