On Sat, 2 Mar 2002, Shridhar Daithankar wrote:

 |On 2 Mar 2002 at 20:34, Kingsly John wrote:
 |> On Sat, 2 Mar 2002, abrar hazarika wrote:
 |>  |typed poweroff under root it says
 |>  |bash:hihi: command not found
 |> 
 |> which poweroff
 |> or 
 |> alias poweroff 
 |
 |# cd /;find . -name poweroff

<nitpicking>
find / -name poweroff 

would be more efficient ;-)
</nitpicking>

anyways it's is in his PATH .. so running a find would not be necessary.
(find is really load intensive and shouldn't be used with / unless really
necessary)

 |Amd check PATH variable for root. I can bet it's not following some safe 
 |practices...

most common one is that a lot of "newbie sysadmins" (oxymoron of sorts) 
love to add "." to the PATH ... it's one of the first things ppl. do once 
they learn about the PATH variable.

Kingsly


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to