Best way to permanently set $PATH on Linux

Just go to your home directory and use “ls” command to show all the files under the directory including hidden ones.

You will see these files:

Just open the file .profile and read it you will find an answer there.

more info about linux Environment variables please check: 

Leave a Reply

Your email address will not be published. Required fields are marked *