디렉토리만 보기, 파일만 보기
[root@oracle test]# ls -l | grep "^d"
drwxr-xr-x 2 root root 4096 Apr 19 11:45 dirtest
[root@oracle test]# ls -l | grep "^-"
-rw-r--r-- 1 root root 0 Mar 30 2011 1
-rw-r--r-- 1 root root 7 Mar 4 2011 test.html
-rwx------ 1 root root 324 Mar 4 2011 test.sh
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인