-
env
A list of all the current environmental variables and their values for the current user, including all the directories in the
PATH
variable, can be seen by running theenv
command without any options or arguements. -
PATH
PATH
is an environmental variable in Linux and other Unix-like OS that tells the shell which directories to search for executable files in response to commands issued by a user.env | grep PATH echo $PATH
-
Change PATH
PATH variables can be changed relatively easily. They can be changed just for the current login session, or they can be changed permanently.
Linux添加路径到PATH||env
最新推荐文章于 2024-08-30 09:29:42 发布