Linux doesn't allow, by default, current directory search like
DOS does.  If you are root, /usr/sbin should be in your path.

type cd
Edit .bashrc
You will notice a line that starts with PATH=
Each path entry is separated by a ':' (colon).
You will see :/usr/sbin: somewhere in the list.

If you became root because you used "su', then you need to add
/usr/sbin to your own .bashrc

Redhat isn't very good about using root's settings.

I hope this helps.

Bob Crandell
ComSource Associates, Inc.
Your IT Department
747 Willamette St.
Eugene, Oregon 97401
www.comsourceinc.com
[EMAIL PROTECTED]
Voice:  541-345-0408
FAX:  541-345-0876


>>> [EMAIL PROTECTED] 9/25/2000 10:33:31 AM >>>
At 06:39 AM 9/25/00 -0700, you wrote:
>try adding /usr/sbin to your path...

How do I add /usr/sbin to my path?  Sorry, I am *very* new to
Linux...


> or.. from /usr/sbin do ./sndconfig
>...

Okay, why does ./sndconfig work in /usr/sbin but sndconfig not
in /usr/sbin?


>
>On Sun, 24 Sep 2000, you wrote:
>> So I did a "locate sndconfig" and found that it was in the
"/usr/sbin"
>> directory.
>> 
>> If I change my working directory to /usr/sbin and do a "ls -l
sndconfig" I
>> get:
>> 
>> "-rwxr-xr-x 1 root root 116784 Mar 8 2000 sndconfig"
>> 
>> I am logged in as root.
>> 
>> If I type "sndconfig" I get: "bash: sndconfig: command not
found".
>> 
>> So what is going on???
>> 
>> 
>> At 09:41 AM 9/24/00 -0700, you wrote:
>> >Jamie,
>> >
>> >Here is my problem.  I am running Red Hat 6.2.  Once the
install is
>> >complete (using the Red Hat installer) I can not run fdisk,
cfdisk,
>> >sndconfig.  Bash does not find those file names, i.e.
"command not found".
>> >It's as if the install didn't install everything that it
should have or a
>> >set of commands is not in the search path...
>> >
>> >Kent
>> >
>> >At 06:45 PM 9/23/00 GMT, you wrote:
>> >>You can use fdisk, cfdisk (color fdisk), diskdrake...(you
can get to it 
>> >>via DrakConf).
>> >>
>> >>Jamie
>> >>
>> >>>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>> >>
>> >>On 9/23/00, 9:03:09 AM, Kent Loobey
<[EMAIL PROTECTED]> wrote 
>> >>regarding How do I add a hard disk partition?:
>> >>
>> >>
>> >>> How do I add a hard disk partition in Linux?
>> >>
>> >>> I have tried fdisk in gnome and it can't find it.  I have
tried to find
>> >>> disk druid but don't know what it is called or where to
look for it.
>> >>
>> >>> Kent
>> >>
>> >
>

Reply via email to