ll alias

From KlavoWiki
Revision as of 04:32, 16 April 2014 by David (Sọ̀rọ̀ | contribs)
Jump to navigationJump to search

CentOS

vi /etc/profile.d/colorls.sh

at the end of the file change

alias ll='ls -l --color=auto' 2>/dev/null

to be

alias ll='ls -la --color --group-directories-first --time-style="+%Y-%m-%d %H:%M"' 2>/dev/null

Debian

vi /root/.profile

Add the following line

alias ll="ls -la --color --group-directories-first --time-style=\"+%Y-%m-%d %H:%M\""