export PATH=$PATH:/usr/local/go/bin
/usr/local/go/bin here is the variable path to be added and can be replaced with others.
echo $PATH
Use this command to view all system variables.
export PATH=$PATH:/usr/local/go/bin
/usr/local/go/bin here is the variable path to be added and can be replaced with others.
echo $PATH
Use this command to view all system variables.