l .bash_history :记录了您以前输入的命令,
l .bash_logout :当您退出 shell 时,要执行的命令,
l .bash_profile :当您登入 shell 时,要执行的命令,
l .bashrc :每次打开新的 shell 时,要执行的命令。
<img src ="aggbug/1601192.aspx" width = "1" height = "1" />
shell入门 3
最新推荐文章于 2025-08-28 18:34:55 发布
本文介绍了Bash中几个重要的配置文件:.bash_history用于记录历史命令;.bash_logout定义了退出Shell时执行的命令;.bash_profile则在登录Shell时执行;而.bashrc则在每次打开新的Shell会话时加载。
33万+

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



