On Tuesday 16 July 2002 01:35 am, chiranth wrote:
> ls, mv and cp are all in /bin.  So is echo.  if he's unable to do an ls,
> chances are he won't be able to "echo" his PATH variable.

echo is also a shell builtin. And shell builtins are searched before
looking in your $PATH. So, chances are he will be able to echo
$PATH even if his /bin is fubared, if he can get a shell.

As a matter of fact, $PATH comes last in bash's search order.

Binand


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to