Consider installing brew
and using the GNU version of ls and other tools.
Install XCode from the AppStore.
Install Homebrew...
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install coreutils...
brew install coreutils
Add to the bottom of your .profile
...
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
I alias ls
in my .profile
to do colors for everything and a shortcut for full list.
alias ls='ls --color'
alias l='ls -lah'
# -l use a long listing format
# -a do not ignore entries starting with .
# -h with -l and/or -s, print human readable sizes (e.g., 1K 234M 2G)
There are a bunch of LS_COLORS
options on github.