"리눅스 ls -al 날짜 제외"의 두 판 사이의 차이

(새 문서: ;ls -al 날짜 제외 ==방법== <source lang='bash'> ls -al --time-style=+ 폴더 | tail -n+2 </source> ==같이 보기== *리눅스 ls -al 날짜 제외 분류: 리눅스)
 
5번째 줄: 5번째 줄:
ls -al --time-style=+ 폴더 | tail -n+2
ls -al --time-style=+ 폴더 | tail -n+2
</source>
</source>
 
<source lang='dos'>
[root@jmnote ~]# ls -al --time-style=+ /etc/cron.daily/ | tail -n+2
drwxr-xr-x  2 root root  4096  .
drwxr-xr-x 96 root root 12288  ..
-rwxr-xr-x  1 root root  379  0anacron
lrwxrwxrwx  1 root root    39  0logwatch -> /usr/share/logwatch/scripts/logwatch.pl
-rwxr-xr-x  1 root root  180  logrotate
-rwxr-xr-x  1 root root  418  makewhatis.cron
-rwxr-xr-x  1 root root  137  mlocate.cron
-rwxr-xr-x  1 root root  2181  prelink
-rwxr-xr-x  1 root root  296  rpm
-rwxr-xr-x  1 root root  354  tmpwatch
</source>
==같이 보기==
==같이 보기==
*[[리눅스 ls -al 날짜 제외]]
*[[리눅스 ls -al 날짜 제외]]


[[분류: 리눅스]]
[[분류: 리눅스]]

2014년 9월 26일 (금) 16:24 판

ls -al 날짜 제외

1 방법

ls -al --time-style=+ 폴더 | tail -n+2
[root@jmnote ~]# ls -al --time-style=+ /etc/cron.daily/ | tail -n+2
drwxr-xr-x  2 root root  4096  .
drwxr-xr-x 96 root root 12288  ..
-rwxr-xr-x  1 root root   379  0anacron
lrwxrwxrwx  1 root root    39  0logwatch -> /usr/share/logwatch/scripts/logwatch.pl
-rwxr-xr-x  1 root root   180  logrotate
-rwxr-xr-x  1 root root   418  makewhatis.cron
-rwxr-xr-x  1 root root   137  mlocate.cron
-rwxr-xr-x  1 root root  2181  prelink
-rwxr-xr-x  1 root root   296  rpm
-rwxr-xr-x  1 root root   354  tmpwatch

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}