The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 11-30-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
you could add the cd line that vino suggested as the last line in your default shell's initialization file (sh/ksh uses .profile, csh uses .login, bash uses .bashrc, etc.) but that might affect how you go about with your work after the initial login ...

i think your best bet is to create either a symlink to the target directory like rhfromm said or create an alias for the cd (i.e., alias mydir="cd /target/dir") in your environment file whichever one it is that your default shell uses ...