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
Post a Comment