Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use parallels to run a windows machine and would love to make an alias in my .profile to make a shortcut to my project folder, but the following alias below dosn't seem to work.

alias trustpilot=/Volumes/C/Projects/stable
share|improve this question
up vote 0 down vote accepted

Aliases are for commands.
Like alias trustpilot = 'cd /Volumes/C/Projects/stable' lets you change to the directory by issuing the command trustpilot.
If you want to cd $trustpilot to your directory then you have to add it as a variable (without alias, just: trustpilot = '/Volumes/C/Projects/stable') to your shell profile.

share|improve this answer
Thanks for clarifying this :) – lajlev Apr 22 '12 at 14:08

Assuming you want the alias to change directory to the wanted directory:

alias trustpilot="cd /Volumes/C/Projects/stable"

Now writing


will "cd" you to that directory.

If you want a symbolic link (a file that points to the directory in question) you can do

ln -s /Volumes/C/Projects/stable ~/trustpilot

This gives you a directory in your home that points to /Volumes/C/Projects/stable, so you can do e.g. cd trustpilot from your home to go there.

share|improve this answer

You could try making an alias to it:

alias trustpilot='cd /Volumes/C/Projects/stable'

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.