Browse Source

Better ls aliases

Tom McKenzie 7 years ago
parent
commit
7fc3676db7
1 changed files with 5 additions and 3 deletions
  1. 5 3
      .rc.d/aliases.sh

+ 5 - 3
.rc.d/aliases.sh

@@ -1,7 +1,9 @@
 # ls
-alias ll='ls -alF'
-alias la='ls -A'
-alias l='ls -CF'
+alias l='ls -lFh'     # size,show type,human readable
+alias la='ls -lAFh'   # long list,show almost all,show type,human readable
+alias lr='ls -tRFh'   # sorted by date,recursive,show type,human readable
+alias lt='ls -ltFh'   # long list,sorted by date,show type,human readable
+alias ll='ls -l'      # long list
 
 # http
 alias start-http='python -m SimpleHTTPServer'