首先,我們打開環境變量配置文件。bash_profile,使用以下命令:
打開~/。bash_profile
其次,將以下內容添加到配置文件中:
別名ll='ls -alF
別名la='ls -A
別名l='ls -CF
命令+s保存。
最後,編譯配置文件。bash_profile:
來源。bash_profile
首先,我們打開環境變量配置文件。bash_profile,使用以下命令:
打開~/。bash_profile
其次,將以下內容添加到配置文件中:
別名ll='ls -alF
別名la='ls -A
別名l='ls -CF
命令+s保存。
最後,編譯配置文件。bash_profile:
來源。bash_profile