Chinaunix首页 | 论坛 | 博客
  • 博客访问: 66780
  • 博文数量: 17
  • 博客积分: 673
  • 博客等级: 中士
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-17 16:48
文章分类

全部博文(17)

文章存档

2012年(5)

2011年(12)

分类: LINUX

2011-08-15 16:41:47

常用的各种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
阅读(1396) | 评论(0) | 转发(0) |
0

上一篇:copy的方法(cp,tar,rsync)

下一篇:gmake notes

给主人留下些什么吧!~~