常用的各种ls
alias ll='ls -l '
alias la='ls -Al' # show hidden files
alias ls='ls -hF --color' # add colors for filetype recognition
alias lt='ls -Altr' # sort by date, most recent last
alias lc='ls -ltcr' # sort by and show change time, most recent last
alias lx='ls -ltur' # sort by and show access time, most recent last
alias lX='ls -lXB' # sort by extension
alias lk='ls -lSr' # sort by size, biggest last
alias lm='ls -al |more' # pipe through 'more'
alias lr='ls -lR' # recursive ls
The first character can be any of these:
d = directory - = regular file l = symbolic link s = Unix domain socket p = named pipe c = character device file b = block device file |
阅读(1439) | 评论(0) | 转发(0) |