Ok. This has got to be easy, but I can't get something right. I'm just trying to find a way to enter a few characters (example: cd1) and have it change my current directory. In other words, I'm at root and I want to type cd1 and have it be the same as if I typed "cd export/home/testuser". I'm using Solaris 8 for this. Thanks in advance for any help. I promise I'm trying to figure it out on my own...:)
budroedotcom
0
Newbie Poster
Recommended Answers
Jump to PostIf I understand right....
#/bin/sh cd /whateverdirectory/inhere
then, "chmod ugo+x cd1.sh"
Edit your profile, so it will always be in your path:
nano ~/.profileYou will see a list of paths seperated by colons. Add a colon, and …
All 4 Replies
John A
1,896
Vampirical Lurker
Team Colleague
budroedotcom
0
Newbie Poster
jim mcnamara
19
Junior Poster
budroedotcom
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.