更改/etc/profile之后,我该怎么做才能重置我的shell? [英] After changing /etc/profile, what do I have to do to reset my shell?

查看:55
本文介绍了更改/etc/profile之后,我该怎么做才能重置我的shell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

立即测试其效果,而不必重新加载终端

To test its effects immediately instead of having to reload the terminal

推荐答案

使用source /etc/profile

有关详细信息,请参见人工来源,也可以查看此链接 http://bash.cyberciti.biz/guide /Source_command

for details, man source or you can checkout this link http://bash.cyberciti.biz/guide/Source_command

这篇关于更改/etc/profile之后,我该怎么做才能重置我的shell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆