why fdisk is not running?
hi
i'm using REDHAT 9.0 ,i'm logged in as su but still my command like fdisk was not working on terminal is it not the right place to run that command ,or iave to try it in vi editor,may be this something very foolish question but as i;m a newbie Did any help me out from where should i start in RED hat 9.0 Thanks |
Well, it would help if instead of saying something like:
Quote:
That being said, I think I have a guess. fdisk and some other root-only commands are frequently placed in /sbin instead of /bin. If /sbin is not in your path, you cannot run any of the programs in it. Try typing: Code:
your_prompt # export PATH="$PATH:/sbin/" Or you could try running fdisk with a complete path like so: Code:
your_prompt # /sbin/fdisk |
Re: why fdisk is not running?
Quote:
Sounds like the latter - to avoid this problem of path not including /sbin, issue following instead; Code:
su - |
All times are GMT -5. The time now is 12:25 PM. |