linux - Execute a shell file from anywhere -


i can open arduino , android studio ide irrespective of current path these commands

 ~/arduino/./arduino   ~/android/./studio 

i've created aliases both of them on .bashrc file , working fine.

i want know if there more efficient way of solving kind of problems?

~ represents home directory in system. why can open programs anywhere. but, if login user, won't work ~ represent user's home directory.

if want can replace ~ /home/<yourusername> (the absolute path home directory) or /root depending upon installation settings.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -