FAQ Mac's

 

1. ll not be used at the command line

  We need to set the alias command. File location: ~ / .bash_profile

source ~/.profile
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="/usr/local/opt/[email protected]/sbin:$PATH"
export PATH="usr/local/opt/[email protected]/bin:$PATH"

alias readlink=greadlink
alias ll='ls -alF'

  Save reload the configuration: source ./bash_profile

  But sometimes the situation can not be found .profile file, edit the .bash_profile

export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="/usr/local/opt/[email protected]/sbin:$PATH"
export PATH="usr/local/opt/[email protected]/bin:$PATH"

alias readlink=greadlink
alias ll='ls -alF'

  You can reload the configuration

 

Guess you like

Origin www.cnblogs.com/xingxia/p/Mac_problems.html