
写入环境变量:
echo "export LANG="zh_CN.UTF8"">>/etc/profile
source /etc/profile
本文介绍如何在Linux系统中配置环境变量,通过编辑/etc/profile文件并使用echo命令添加新的环境变量设置,然后通过source命令使更改生效。

写入环境变量:
echo "export LANG="zh_CN.UTF8"">>/etc/profile
source /etc/profile

被折叠的 条评论
为什么被折叠?