So "cs" will be mapped to "/College/" so that I can run the command "cd cs"?
Asked
Active
Viewed 1.9k times
1 Answers
12
I believe you are asking about how to create a symbolic link (or symlink) like:
ln -s College cs
Although, there are other ways to speed up your workflow, such as setting the CDPATH:
export CDPATH=.:~/:/College/
Or you could even make "cs" an alias that will perform the action "cd /College/":
alias cs='cd /College/'
If you did the above, you would type cs instead of cd cs to get there.
See also
Michael Aaron Safyan
- 90,931
- 15
- 133
- 196