ubuntu20.04 adds 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.

Guess you like

Origin blog.csdn.net/k1nh00/article/details/123766112