. in $path

Reinhard Doelz doelz at urz.unibas.ch
Fri Apr 13 02:06:00 AEST 1990



The *root* may not use it, otherwise it's fine. Imagine you're su'ing around
and some weird guy aliased ls to rm. If you're in his dir as root, you
might easily do a strange 'ls' because the . is always executed first
before looking in others like /bin or /usr/bin. The . in root's path,
therefore, is ugly, but elsewhere you're biting your own neck.

- Reinhard                            



More information about the Comp.sys.sgi mailing list