linux中设置别名 发表于 2019-12-10 分类于 linux 临时设置(重启后失效) 1# alias ll="ls -l" 固定设置(永久生效) 编辑配置文件,并添加内容 1# vim /etc/bashrc alias ll=”ls -l” 使配置文件生效 1# source /etc/bashrc