The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-23-2006
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
While I don't understand exactly why you need a script to issue a cd command, why just not create an alias? As in


Code:
 alias 'cdv=cd /des/proj/$1'

then you'll be able to type cdv vega - or whatever project you have in /des/proj - and be taken to /des/proj/vega.