LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2007, 09:52 PM   #1
gr-martins
LQ Newbie
 
Registered: Feb 2007
Location: Brasil
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Question 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.
 
Old 11-23-2007, 10:19 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
You don't have /sbin in your PATH so try:
Code:
sudo /sbin/ifconfig
 
Old 11-25-2007, 07:14 PM   #3
gr-martins
LQ Newbie
 
Registered: Feb 2007
Location: Brasil
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Vincent

thanks!it works
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
Sudo without having to type "sudo?" Mitch G Linux - Security 3 09-28-2006 02:16 PM
sudo XaViaR Linux - General 6 06-21-2005 06:12 PM
need help with sudo mla Linux - Software 4 10-02-2003 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration