For example lets consider that I am going to create shortcut of PyCharm whose sh is /disk2/setups/pycharm-community-2016.1.3/bin/pycharm.sh
on ubuntu
touch ~/Desktop/py
echo "/disk2/setups/pycharm-community-2016.1.3/bin/pycharm.sh &" > ~/Desktop/py
cd ~/Desktop
chmod u+x py
sudo mv py /usr/bin/
- Press
Alt+f2
. Enterpy
- pycharm will start