3
LINUX中查看、添加、删除PATH以及永久添加PATH(转)
source link: https://titron.github.io/2023/02/10/linux_add_delete_env/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
LINUX中查看、添加、删除PATH以及永久添加PATH(转)
# list PATH
$ echo $PATH
# add new to PATH
$ export PATH=$PATH:新添加的路径
# delete something in PATH
$ echo $PATH #if PATH=路径1:路径2:路径3:路径4
$ export PATH=路径1:路径2:路径4
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK