{"id":6990,"date":"2020-04-25T20:47:23","date_gmt":"2020-04-25T12:47:23","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6990"},"modified":"2022-05-12T18:08:36","modified_gmt":"2022-05-12T10:08:36","slug":"ll","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ll","title":{"rendered":"ll\u547d\u4ee4 – \u663e\u793a\u6307\u5b9a\u6587\u4ef6\u7684\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f"},"content":{"rendered":"\n

ll\u547d\u4ee4\u7684\u529f\u80fd\u662f\u663e\u793a\u6307\u5b9a\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f\uff0c\u5b9e\u9645\u5b83\u4e0d\u662f\u4e00\u4e2a\u771f\u5b9e\u5b58\u5728\u7684\u547d\u4ee4\u6587\u4ef6\uff0c\u800c\u662f\u201dls -l --color=auto\u201c\u7684\u522b\u540d\u800c\u5df2\u3002ll\u547d\u4ee4\u53ef\u4ee5\u9ed8\u8ba4\u5217\u51fa\u5f53\u524d\u76ee\u5f55\u5185\u6587\u4ef6\u7684\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f\uff0c\u5305\u542b\u6743\u9650\u3001\u6240\u5c5e\u3001\u4fee\u6539\u65f6\u95f4\u4ee5\u53ca\u5bb9\u91cf\u5360\u7528\u5927\u5c0f\u7b49\u7b49\u4fe1\u606f\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>ll [\u53c2\u6570] \u6587\u4ef6<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-a <\/td>\u5217\u51fa\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6\uff08\u542b\u9690\u85cf\u6587\u4ef6\uff09<\/td><\/tr>
-A <\/td>\u663e\u793a\u9664 \u201c.\u201d\u548c\u201c..\u201d\u5916\u7684\u6240\u6709\u6587\u4ef6<\/td><\/tr>
-k <\/td>\u4ee5\u5b57\u8282\u7684\u5f62\u5f0f\u8868\u793a\u6587\u4ef6\u7684\u5927\u5c0f<\/td><\/tr>
-h<\/td>\u4ee5\u66f4\u6613\u8bfb\u7684\u5bb9\u91cf\u5355\u4f4d\u663e\u793a\u6587\u4ef6\u5927\u5c0f<\/td><\/tr>
-s <\/td>\u5728\u6bcf\u4e2a\u6587\u4ef6\u540d\u540e\u8f93\u51fa\u8be5\u6587\u4ef6\u7684\u5927\u5c0f<\/td><\/tr>
-N <\/td>\u4e0d\u9650\u5236\u6587\u4ef6\u957f\u5ea6<\/td><\/tr>
-t <\/td>\u4ee5\u6587\u4ef6\u4e0a\u6b21\u88ab\u4fee\u6539\u7684\u65f6\u95f4\u6392\u5e8f<\/td><\/tr>
-u <\/td>\u4ee5\u6587\u4ef6\u4e0a\u6b21\u88ab\u8bbf\u95ee\u7684\u65f6\u95f4\u6392\u5e8f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u5f53\u524d\u76ee\u5f55\u5185\u6587\u4ef6\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ll<\/strong>\r\ntotal 8\r\n-rw-------. 1 root root 1256 Dec 14 08:42 anaconda-ks.cfg\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Desktop\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Documents\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Downloads\r\n-rw-r--r--. 1 root root 1585 Dec 14 08:43 initial-setup-ks.cfg\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Music\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Pictures\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Public\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Templates\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Videos\r<\/pre>\n\n\n\n

\u4ee5\u6587\u4ef6\u4e0a\u6b21\u88ab\u4fee\u6539\u7684\u65f6\u95f4\u6392\u5e8f\uff0c\u663e\u793a\u5f53\u524d\u76ee\u5f55\u5185\u6587\u4ef6\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ll -t<\/strong>\r\ntotal 8\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Documents\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Music\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Pictures\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Videos\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Desktop\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Downloads\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Public\r\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Templates\r\n-rw-r--r--. 1 root root 1585 Dec 14 08:43 initial-setup-ks.cfg\r\n-rw-------. 1 root root 1256 Dec 14 08:42 anaconda-ks.cfg\r<\/pre>\n\n\n\n

\u4ee5\u66f4\u6613\u8bfb\u7684\u5bb9\u91cf\u5355\u4f4d\u663e\u793a\u6587\u4ef6\u5927\u5c0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ll -h<\/strong>\ntotal 8.0K\n-rw-------. 1 root root 1.3K Dec 14 08:42 anaconda-ks.cfg\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Desktop\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Documents\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Downloads\n-rw-r--r--. 1 root root 1.6K Dec 14 08:43 initial-setup-ks.cfg\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Music\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Pictures\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Public\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Templates\ndrwxr-xr-x. 2 root root    6 Dec 14 08:44 Videos<\/pre>\n\n\n\n

\u67e5\u770b\u67d0\u4e2a\u6307\u5b9a\u6587\u4ef6\u7684\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ll anaconda-ks.cfg <\/strong>\r\n-rw-------. 1 root root 1256 Dec 14 08:42 anaconda-ks.cfg<\/pre>\n","protected":false},"excerpt":{"rendered":"

ll\u547d\u4ee4\u7684\u529f\u80fd\u662f\u663e\u793a\u6307\u5b9a\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u8be6\u7ec6\u5c5e\u6027\u4fe1\u606f\uff0c\u5b9e\u9645\u5b83\u4e0d\u662f\u4e00\u4e2a\u771f\u5b9e\u5b58\u5728\u7684\u547d\u4ee4\u6587\u4ef6\uff0c\u800c\u662f\u201dls -l –co […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6990"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6990"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6990\/revisions"}],"predecessor-version":[{"id":9606,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6990\/revisions\/9606"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}