- 论坛徽章:
- 0
|
ls的巧用方法
[root@LRDN home.ssi_files]# ls -a|grep "date|awk '[print $2,$3}'"
grep: 不匹配的 [ 或 [^
[root@LRDN home.ssi_files]# ls -a|grep "date|awk '{print $2,$3}'"
[root@LRDN home.ssi_files]# ls -a|grep "date|awk '{print $2,$3}'" ../
[root@LRDN home.ssi_files]# ls -a|grep "date|awk '{print $2,$3}'" /home/
[root@LRDN home.ssi_files]# ls -aa|grep "date|awk '{print $2,$3}'" /home/
[root@LRDN home.ssi_files]# ls -al|grep "date|awk '{print $2,$3}'" /home/
[root@LRDN home.ssi_files]# ls -al|grep "date|awk '{print $2,$3}'" /home/*
[root@LRDN home.ssi_files]# ls -al|grep "date|awk '{print $2,$3}'" /*
[root@LRDN home.ssi_files]# |
|