Perhaps you are executing the command as a regular user, and /usr/sbin isn't in you PATH. Normally /usr/sbin commands are not on a user PATH, but only for root.

Therefore to execute your're command either put the full path /usr/sbin/xxx (and hope you have enough permissions to execute it), or execute su - + root pwd (which will make you act as root), and execute you're command.

P.S. to see you're PATH variable you can do echo $PATH for instance, and there you can see all the directories where linux will search for any commands you execute.

Hope this helps,

Heru Walmsley wrote:
This is a fresh install of RH8 with the NFS utils RPM installed. When I list the files in the /usr/sbin directory the file shows up, but when I try to execute it bash give me a "command not found" error. How do I correct this?
Thanks
  

--


 	 	

 	

 	

 	

 	
  
Eduardo Silva
Wireless Network Engineer
ESN – 587 4664 PSTN - 91 709 4664 NEW
Mobile 600 595 219
e-mail: [EMAIL PROTECTED]




-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to