The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
cd from a Bourne Shell Script - Please Help
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
cd from a Bourne Shell Script - Please Help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
05-23-2006
System Shock
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.
System Shock
View Public Profile
Find all posts by System Shock
Find System Shock's past nominations received
Find System Shock's present nominations given