The question is already answered, Updating answer to add the PyCharm bin directory to $PATH var, so that pycharm editor can be opened from anywhere(path) in terminal.
Edit the bashrc file,nano .bashrc
export PATH="<path-to-unpacked-pycharm-installation-directory>/bin:$PATH"
pycharm.sh