Category Archives: Ubuntu

Set Permanent Base PATH Variable on Ubuntu

how to add a directory to the PATH environment variable in linux? Set Permanent Base PATH Variable on Ubuntu Open terminal and type command “sudo su”, then edit bashrc file with nano or vim like below: nano ~/.bashrc After that copy and paste your export PATH into bashrc file then save and exit. Summary The bashrc file will… Read More »