I looked around some sites and yielded no success. I tried to modify .bashrc
:
# User specific aliases and functions
export PATH="~/android-studio/bin/:$PATH"
and after I typed studio.sh
on the shell it says no such file or directory.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityadd the following line to .bashrc
export PATH=~/Documents/android-studio/bin:$PATH
save and execute the following command....
source ~/.bashrc
enter studio.sh
and it should open
studio.sh
executeable? And did you re-source your bashrc (source ~/.bashrc
). Lastly I normally use${HOME}
instead of~
for my path variable.file/path/to/studio.sh
to start up android studio. what do you mean by re-sourcing bashrc?