ls?
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
[root@server html]# [root@server html]# ls code readme.html wp-blog-header.php wp-config.php wp-includes wp-login.php wp-signup.php index.php wp-activate.php wp-comments-post.php wp-content wp-links-opml.php wp-mail.php wp-trackback.php license.txt wp-admin wp-config-sample.php wp-cron.php wp-load.php wp-settings.php xmlrpc.php [root@server html]# ls -a . code wp-activate.php wp-config-sample.php wp-includes wp-mail.php xmlrpc.php .. index.php wp-admin wp-config.php wp-links-opml.php wp-settings.php .htaccess license.txt wp-blog-header.php wp-content wp-load.php wp-signup.php .well-known readme.html wp-comments-post.php wp-cron.php wp-login.php wp-trackback.php [root@server html]# ls -al 합계 196 drwx---rwx. 7 team free 4096 2016-05-20 10:09 . drwx-----x. 4 team free 4096 2015-12-23 16:28 .. -rw-r--r--. 1 team free 525 2015-12-11 18:17 .htaccess drwxr-xr-x. 3 root root 4096 2016-02-04 11:35 .well-known drwxr-xr-x 3 root root 4096 2016-03-08 18:09 code -rw-r--r--. 1 team free 418 2015-09-03 12:33 index.php -rw-r--r--. 1 team free 19930 2016-01-14 12:36 license.txt -rw-r--r--. 1 team free 7360 2016-05-07 04:26 readme.html -rw-r--r--. 1 team free 5035 2015-12-11 16:15 wp-activate.php drwxr-xr-x. 9 team free 4096 2015-11-07 09:00 wp-admin -rw-r--r--. 1 team free 271 2015-09-03 12:33 wp-blog-header.php -rw-r--r--. 1 team free 1369 2015-12-11 16:15 wp-comments-post.php -rw-r--r--. 1 team free 2853 2016-01-14 12:36 wp-config-sample.php -rw-rw-rw-. 1 team free 3053 2015-12-08 15:48 wp-config.php drwxr-xr-x. 7 team free 4096 2016-05-11 07:53 wp-content -rw-r--r--. 1 team free 3286 2015-09-03 12:33 wp-cron.php drwxr-xr-x. 16 team free 4096 2015-12-11 16:15 wp-includes -rw-r--r--. 1 team free 2380 2015-09-03 12:33 wp-links-opml.php -rw-r--r--. 1 team free 3316 2015-12-11 16:15 wp-load.php -rw-r--r--. 1 team free 33770 2016-01-14 12:36 wp-login.php -rw-r--r--. 1 team free 7887 2015-12-11 16:15 wp-mail.php -rw-r--r--. 1 team free 13021 2015-12-11 16:15 wp-settings.php -rw-r--r--. 1 team free 28594 2015-12-11 16:15 wp-signup.php -rw-r--r--. 1 team free 4035 2015-09-03 12:33 wp-trackback.php -rw-r--r--. 1 team free 3061 2015-12-11 16:15 xmlrpc.php |
[table caption=”ls option” colwidth=”150|” colalign=”center|left”]
옵 션 , 설 명
-R , 지정한 디렉토리이하에 있는 하부디렉토리와 파일들을 모두 포함 / Recursive
-r , 출력결과를 정열할 때에서 내림차순으로 정렬 / Descending
-S , 파일사이즈가 가장 큰 것부터 순서대로