Linux Shell Technology

Define Shortkey in the command line, Linux (Ubuntu)

For bash you have to do the following steps:

1) Open your .bashrc

sudo nano ~/.bashrc

2) Add new alias (at the end of the file)

alias phpstorm='cd ~/Downloads/phpstorm/bin/./'

3) Save and close the file

4) Source the .bashrc file

source ~/.bashrc

reference :

Leave a Reply

Your email address will not be published. Required fields are marked *