Sorry I am new to ubuntu, just installed it. The version Ubuntu 14.04.4 LTS.
I finally learned how to install a program called WebStorm and trying to create an alias for it. I tried creating it under ~/.bashrc
and ~/.bash_aliases
and ~/.bash_profile
by reading all the other forums here but none of them worked.
I tried adding alias such as:
alias ll = 'ls -l'
as a test I tried adding them in /.bashrc
and /.bash_aliases
but each time when I open up my terminal it'll give me an error saying ll is not a command or something but finally adding into /.bash_profile
wouldn't give me such error messages.
What I wanted to add as alias is a something like this:
alias ws = '~/Apps/Webstorm/bin/webstorm.sh
but when I run ws
in terminal it says:
ws: command not found
but if I just run:
~/Apps/Webstorm/bin/webstorm.sh
directly it'll run the program.
What am I doing wrong here?
=