All Questions
Tagged with alias cd-command
6
questions
134
votes
36
answers
73k
views
Quick directory navigation in the bash shell
I would like to frequently switch between directories that are in totally unrelated paths, for example /Project/Warnest/docs/ and ~/Dropbox/Projects/ds/test/.
But I don't want to type cd /[full-path]/...
36
votes
4
answers
63k
views
Alias to CD in a directory and call a command
I have a .bash_profile and in that I have a set of aliases. Those aliases at the moment execute only a single command and it was fairly easy. I would however like to do two things with a new alias ...
8
votes
4
answers
9k
views
How to create a short path?
We have so many useful folders, which are in different path, for our working in Linux.
For example :
$ cd ~/Documents/Courses/EDX/physics2013/
$ cd ~/Documents/Company/OpenGL/Proj/...
$ cd ~/...
3
votes
3
answers
12k
views
Create alias for desktop directory
If I type in cd Desktop, no matter what folder the terminal is currently open in, I want it to navigate to /home/bob-ubuntu/Desktop
In my .bashrc file I have the following lines at the bottom:
alias ...
6
votes
4
answers
20k
views
Command line shortcuts for changing directory [duplicate]
I'm looking for an easy way to navigate to directories spanning multiple hard drives and want to set something equivalent to a shortcut within the terminal.
In Windows I would accomplish this with ...
6
votes
3
answers
6k
views
-bash: /bin/cd: No such file or directory - automatically execute ls after cd
I accidentially destroyed my cd command.
I tried to automatically execute ls after cd is called.
I found a post saying that I have to execute alias cd='/bin/cd && /bin/ls', but now I get -...