Simple question

Simple question

Post by Robert N. Brya » Fri, 16 Jul 1999 04:00:00



I can cd to /sbin and ls shows me that fsck, pdisk and sndvolmix are
there. But when a type them in at the shell prompt, I get a "command not
found".  Trying it as SU doesn't help. What's going on?

Thanks.

--
Bob Bryan

 
 
 

Simple question

Post by Matthew Pritzke » Sat, 17 Jul 1999 04:00:00



> I can cd to /sbin and ls shows me that fsck, pdisk and sndvolmix are
> there. But when a type them in at the shell prompt, I get a "command not
> found".  Trying it as SU doesn't help. What's going on?

Try ./fsck or add . to your PATH

--
----------------------------------

Graduate Research Assistant       IU Dept. of Physics

 
 
 

Simple question

Post by N.P.Ro.. » Sat, 17 Jul 1999 04:00:00




>> I can cd to /sbin and ls shows me that fsck, pdisk and sndvolmix are
>> there. But when a type them in at the shell prompt, I get a "command not
>> found".  Trying it as SU doesn't help. What's going on?
> Try ./fsck or add . to your PATH

SU doesn't work because you must use
su -
if you want to use the root-environment (as it says in 'man su')

Niels

 
 
 

Simple question

Post by Dory » Sat, 17 Jul 1999 04:00:00


<org message deleted>

Quote:> Try ./fsck or add . to your PATH

um, I honestly wouldn't add a '.' to my path, I would rather add the
"/sbin" to my path (though both of Matthew's suggestions certianly
would work!)

Depending on your level of paranoia, a "." in your path can lead to bad
bad security problems ;-)

Cheers!
Dory
________________________________________________________________________
 Clarke's Third Law:      Any sufficiently advanced technology is
        <*>                      indistinguishable from magic

 
 
 

1. A simple question deserving a simple answer

: What does Unix (Specifically Linux) look like?  

A bunch of ones and zeros ;-)

: Is it like Dos? Windows?

No, thank God.

: Something else?

Yes.

There's a simple answer...

--
    Tad McClellan                          SGML Consulting
    Tag And Document Consulting            Perl programming

2. VNC for 2.2...?

3. Simple question from simple user

4. Red Hat Linux 6.1 install problems

5. simple question about simple code

6. Can I do this and have a usable system?

7. Simple question for us simple minded.

8. Linux/PPC maintainer changing

9. Simple question - simple answer?

10. Simple question: want to do "rm -rf * .*"

11. A real simple question.

12. simple question?

13. simple questions