I can open my Arduino and Android Studio IDE irrespective of my current path by these commands
~/arduino/./arduino
~/android/./studio
I've created aliases for both of them on my .bashrc
file and its working fine.
I want to know if there is a more efficient way of solving this kind of problems?
You can add folders to your users path variable in the .profile file in your home directory. (or .bash_profile if it exists, since bash will prefer that folder.)
See: https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path