ll alias

From KlavoWiki
Revision as of 23:11, 6 July 2016 by David (Sọ̀rọ̀ | contribs) (David moved page Ll alias to ll alias without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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\""