[problem help] 在/etc/profile中添加的环境变量,重启终端后失效
Tofloor
poster avatar
ZH
deepin
2024-05-25 14:28
Author

在/etc/profile中添加的环境变量,重启终端后失效

Reply Favorite View the author
All Replies
hanweixs
deepin
2024-05-25 15:05
#1

将环境变量写到~/.bashrc文件里面

Reply View the author
lizipeng0013
deepin
2024-05-25 15:56
#2
It has been deleted!
lizipeng0013
deepin
2024-05-25 15:57
#3
It has been deleted!
ZH
deepin
2024-05-25 16:44
#4
hanweixs

将环境变量写到~/.bashrc文件里面

我要想所有账号通用的,这么搞,root账号也得加

Reply View the author
酷谷的谷子
deepin
2024-05-25 17:45
#5

是什么样的环境变量,是不是书写有错误

Reply View the author
徘徊者
deepin
2024-05-27 10:08
#6

source一下可以知道哪里有问题。

Reply View the author
乾豫恒益
deepin
2024-05-27 16:15
#7

风险不低啊,我搞过,差点把系统搞炸了。。。谨慎啊。。。

Reply View the author
ZH
deepin
2024-05-30 21:15
#8
乾豫恒益

风险不低啊,我搞过,差点把系统搞炸了。。。谨慎啊。。。

win11/eepin双系统,挂了不怕,进window挂载linux分区改回来

Reply View the author