add files to the directory linux-

PATH is a string, $ PATH PATH is a variable representation

Within the current working directory is generally not in the search range (value of the PATH environment variable does not contain ./ The current working directory)

 Set Environment Variables

$ Export PATH = $ PATH: you need to add a directory

View Variable

$ export

View the current working directory absolute path

 

add files

export PATH=$PATH:$PWD

Add to the environment variables

PATH=$PATH:/home/

 

 

 

 

Guess you like

Origin www.cnblogs.com/cc1994/p/12014955.html