Default Path

so im pretty new to all this.. i was told to test some network stuff and use iperf.. which is all well and good, but i have to compile it.. and as i go through all of this, im finding that my path has nothing i need...

im getting sick of tracking down the location of things and then adding that location to my path. currently this is my path

/bin /usr/local/bin /usr/bin /usr/ucb /etc /usr/sfw/bin /usr/ccs/bin /usr/sbin .

are there any other locations that might be useful to have in there?

more posts to come :slight_smile:

Thanks
justin

Hello yes that is sufficient. but /etc/ is not required. I wonder how its lurking in there in your system .

/etc used to be a location for some administrative binaries, most of these being now in /sbin or /usr/sbin. Solaris still place some links there not to break legacy scripts. I agree it should no more appear on a PATH but /sbin should be added then.
Having "." in the PATH when you are root is quite risky.