foxbcd
deepin
2022-11-08 21:44 /etc/bashrc.bashrc 试试
Reply Like 1 View the author
/etc/bashrc.bashrc 试试
ln一个到/usr/bin吧
/etc/profle 是登录 shell 的初始化文件,你通过终端仿真器打开的 shell 是交互式的非登录 shell ,自然不会去读取 /etc/profle 。
两种解决办法:
bash -l # 或 bash --login
sudo -u $USER -i
/etc/profle 是登录 shell 的初始化文件,你通过终端仿真器打开的 shell 是交互式的非登录 shell ,自然不会去读取 /etc/profle 。
两种解决办法:
bash -l # 或 bash --login
sudo -u $USER -i
写在/etc/bash.bashrc的命令别名,多用户都能使用,谢谢
Popular Events
More
写在/etc/profle的命令别名,需要source后才能使用,重启后在桌面打开终端无法使用