Add Path to Linux Environment

Add PATH to Linux Environment
You can always check what are in your path environment by running:

echo $PATH

Below example will add /usr/local/go/bin to environment, open now your own bashrc and add the following at the end of the file:

vi ~/.bashrc
export PATH=$PATH:/usr/local/go/bin

To reload that environment file you can run:

source ~/.bashrc

Now if you echo again the path go should be at the end.

echo $PATH

Subscribe to
for video tutorials updates

2 thoughts on “Add Path to Linux Environment

  1. Pingback: Install GOLang on Linux | dotsway

  2. Pingback: Install AWS Cli on EC2 - dotsway

Comments are closed.