Answers for "see env path linux"

17

linux view environment variables

printenv
Posted by: Guest on May-27-2020
3

linux path environment variable

#Ubuntu 20.04:
# echo 'export PATH=$PATH:/path/to/directory/here' >> ~/.bashrc 
echo 'export PATH=$PATH:$HOME/Android/Sdk/emulator' >> ~/.bashrc
#It's better to put $PATH at the beginning that way
#the new path environment variable will append to the old one
#update current shell
source ~/.bashrc
Posted by: Guest on March-23-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language