Mac terminal command to add ll

First, cd to the next home:

cd ~

And then edit the files .bash_profile

vim .bash_profile

Add the following

alias ll='ls -l'
#alias l='ls -alhF'
#alias la='ls -AFh'
#alias ll='ls -lhAF'

Source .bash_profile command execution, the contents of the entry into force

source .bash_profile

 

Published 75 original articles · won praise 48 · Views 350,000 +

Guess you like

Origin blog.csdn.net/KingJin_CSDN_/article/details/94855212