One of the first things I do when installing a new machine is fix the PATH for non-root users to include /sbin and /usr/sbin. It always takes me by surprise when I try to use ifconfig, ifstate, route, et al as a regular user and get a "command not found" error (or, in the case of bwtrack, which wraps ifconfig, wrong output).
Is there a compelling reason we can't simplify the PATH-setting logic to a single line?
Quote:
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games"
|