#Ubuntu 20.04: It's better to put $PATH at the beginning that way #the new path environment variable being added will append to the old one. echo 'export PATH=$PATH:$HOME/Android/Sdk/emulator' >> ~/.bashrc #update current shell source ~/.bashrc