SysAdmin Blog, TechTips and Reviews

An (ex) System Administrator's Blog

Archives Posts

Setting Search $PATH csh

July 1st, 2009 by elizar

Another quikie copy/paste kind of thingy…

You may set your search path automatically each time you log in, by placing the appropriate “set path” command in your “.login” file.

(To learn more about the .login file, type “help dotlogin”.) Here is a sample of a command line that you might put in your .login file to set a non-standard search path:

set path = ( $path /usr/ucb /bin /usr/bin /usr/new .)

I was here...