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

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -