This question has already been answered:
I downloaded ide phpstorm, I launch it by going to the downloads/phpstorm/bin/phpstorm.sh command ./phpstorm.sh . How to make it possible to run phpstorm as a global program just by typing ./phpstorm in the terminal and no matter what directory I am in?
phpstorm.shwithout./meaning starting from the current directory. And yes, to launch a command without .sh there should be no script at all - Mike~/binfor this exists (unless, of course, there is a task to make all the users of this machine happy). - PinkTux~/bin(if such a directory exists) in PATH is written out of the box either in~/.profileor~/.bashrc. - PinkTux