SysAdmin Blog, TechTips and Reviews

Unix SysAd's Technology Blog




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 .)

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

3 Responses

  1. Setting Search $PATH csh | TuxWire : The Linux Blog Says:

    [...] Read more from the original source:  Setting Search $PATH csh [...]

  2. Billings Says:

    You probably should use $path instead of $PATH in your example.

  3. elizar Says:

    right, sorry

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.