ll alias: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
m David moved page Ll alias to ll alias without leaving a redirect
 
(No difference)

Latest revision as of 23:11, 6 July 2016

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\""