Search code examples
linuxcentoshiphop

Linux Command Shortcut Variables


I'm rubbish at Linux, so this is probably an easy question...

I want the executable here:

/root/hiphop/hiphop-php/src/hphp/hphp

To be run when I type:

hphp

How do I set that?


Solution

  • alias hphp=/root/hiphop/hiphop-php/src/hphp/hphp