编辑.bash_profile文件后立即生效的命令
source .bash_profile
1. 设置别名
.bash_profile
alias ls="ls --color"
本文介绍如何通过编辑.bash_profile文件来设置别名,并让更改立即生效的方法。使用source命令可以使修改后的.bash_profile文件立即应用到当前的shell环境中。
编辑.bash_profile文件后立即生效的命令
source .bash_profile
1. 设置别名
.bash_profile
alias ls="ls --color"
1845

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