Back to Top


1397/03/17 - 00:12

how to export path linux permanently

How will I make this /usr/local/go/bin PATH variable permanent?

کلمات کلیدی

exportpathubuntupermanently

how to export path linux permanently

 

They are configuration files. One way:

    Open a terminal window using Ctrl+Alt+T
    Run the command gedit ~/.profile

    Add the line

    export PATH=$PATH: /usr/local/go/bin

    to the bottom and save

    Log out and log in again