LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-602014/)

gr-martins 11-23-2007 09:52 PM

sudo
 
Dear Slackers

I want to use the sudo command but every time I use it I have the response below:
gmartins@mozart:/usr/src/SlackBuilds/VMware$ sudo ifconfig
Password:
sudo: ifconfig: command not found
Does any one know what is going on??

thanks for any advise.

g.

Vincent_Vega 11-23-2007 10:19 PM

You don't have /sbin in your PATH so try:
Code:

sudo /sbin/ifconfig

gr-martins 11-25-2007 07:14 PM

Vincent

thanks!it works


All times are GMT -5. The time now is 08:58 PM.