You could always add an alias.
alias big='cd /very/long/directory/goes/here'
Then just type
For more permanent alias:
How do I create a permanent Bash alias?
Since the pushd and popd example got more upvotes, but the guy didn't explain it :)
Basically when you do pushd it makes a list of directories you can put into it. (If you have any programming background, it is very similar when you pop an item from a list, if not I will explain)
So if you do
pushd ~/Music you just added a directory to a list from which you can access. You can also do
pushd dir to add your current(working) directory to this list. When you use the
pushd command alone, it will cycle through the list (it is actually technically stack).
So if you want to add 3 directories. It would look like this
user@user: pushd /really/long/dir/1/ <--User input
user@user: pushd /really/long/dir/2/
user@user: pushd /really/long/dir/3/
/really/long/dir/1/ /really/long/dir/2/ /really/long/dir/3/
These will all be added like so. When you use
pushd it will go to the next directory on the list, and push the first to the end. So the list would start 1,2,3 and go 2,3,1 --> 3,1,2 --> 1,2,3 .
popd deletes the directory at the front of the list, and moves you to the first directory of the new list. So lets do this with 4 directories.(assuming popd command is used each time)
(start with 1,2,3,4, in any directory)
2,3,4 (You are in directory 2)
3,4 (You are in directory 3
4 (You are in directory 4)
Empty list (No change of directory)