记录
在mac下无法使用ll,la,l等命令,其实是因为没有配置好ls命令的别名
打开环境变量配置文件.bash_profile
open ~/.bash_profile
添加以下内容到配置文件
alias ll='ls -alF``alias la='ls -A``alias l='ls -CF
command+s进行保存。
编译配置文件.bash_profile:
source .bash_profile
备注
这是一篇旧博客迁移笔记,内容较短,保留作日后排查同类问题时的线索。
技术笔记
在mac下无法使用ll,la,l等命令,其实是因为没有配置好ls命令的别名
打开环境变量配置文件.bash_profile
open ~/.bash_profile
添加以下内容到配置文件
alias ll='ls -alF``alias la='ls -A``alias l='ls -CF
command+s进行保存。
编译配置文件.bash_profile:
source .bash_profile
这是一篇旧博客迁移笔记,内容较短,保留作日后排查同类问题时的线索。