{"id":222,"date":"2012-10-24T10:42:19","date_gmt":"2012-10-24T01:42:19","guid":{"rendered":"http:\/\/www.techscore.com\/blog\/?p=222"},"modified":"2018-11-14T16:33:59","modified_gmt":"2018-11-14T07:33:59","slug":"my-famous-command2","status":"publish","type":"post","link":"https:\/\/www.techscore.com\/blog\/2012\/10\/24\/my-famous-command2\/","title":{"rendered":"\u3042\u3048\u3066\u8a00\u3046\u307b\u3069\u3067\u306f\u306a\u3044\u3051\u308c\u3069\u3082\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u305f\u3089\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u6751\u4e0a\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u30b5\u30fc\u30d0\u30fc\u3067\u3044\u308d\u3044\u308d\u3068\u8abf\u67fb\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u305d\u306e\u6642\u306b\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3092\u307e\u3068\u3081\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u30d5\u30a1\u30a4\u30eb\u95a2\u9023\u3067\u3059\u3002<\/p>\n<h3>\u25c6 \u8868\u793a\u65b9\u6cd5<\/h3>\n<pre>ls -1<\/pre>\n<p>\u300cls\u300d\u306e\u5185\u5bb9\u30921\u5217\u3067\u8868\u793a\u3059\u308b<\/p>\n<pre>ls -m<\/pre>\n<p>\u300cls\u300d\u306e\u5185\u5bb9\u3092\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u8868\u793a\u3059\u308b\u3002<\/p>\n<pre>ls -l --time-style=+'%Y-%m-%d %H:%M:%S'<\/pre>\n<p>\u300cls -l\u300d\u3067\u8868\u793a\u3055\u308c\u308b\u6642\u9593\u3092\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/p>\n<h3>\u25c6 \u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u6570\u3092\u8abf\u3079\u305f\u3044\u3002<\/h3>\n<pre> ls -1|wc -l<\/pre>\n<p>ls\u3067\u53d6\u5f97\u3055\u308c\u308b\u5358\u8a9e\u6570\u3092\u6570\u3048\u308c\u3070\u3044\u3044\u3067\u3059\u306d\u3002<\/p>\n<h3>\u25c6 \u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u6570\u3092\u8abf\u3079\u305f\u3044\u3002<\/h3>\n<pre> ls -R1|wc -l<\/pre>\n<p>\u3068\u3057\u305f\u3089\u4f59\u8a08\u306a\u3082\u306e\u3082\u542b\u307e\u308c\u308b\u306e\u3067\u3088\u308d\u3057\u304f\u306a\u3044\u3002<br \/>\n\u306a\u306e\u3067\u3001find\u3067\u53d6\u5f97\u3055\u308c\u308b\u5358\u8a9e\u6570\u3092\u8abf\u3079\u3066\u307f\u305f\u3002<\/p>\n<pre>find .\/|wc -l<\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea(\/\u3067grep)<\/p>\n<pre> ls -p|grep \/<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb(\/\u4ee5\u5916\u3067grep)<\/p>\n<pre> ls -p|grep -v \/<\/pre>\n<p>\u3061\u306a\u307f\u306b<\/p>\n<pre>ls -F<\/pre>\n<p>\u306e\u5834\u5408\u306f\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u300c*\u300d\u3092\u4ed8\u52a0\u3057\u3066\u304f\u308c\u307e\u3059<\/p>\n<h3>\u25c6 \u30d5\u30a1\u30a4\u30eb\u3092\u3044\u308d\u3044\u308d\u3068\u30bd\u30fc\u30c8\u3057\u305f\u3044<\/h3>\n<p>\u6642\u9593\u3067<\/p>\n<pre> ls -lt --time-style=+'%Y-%m-%d %H:%M:%S'<\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u518d\u5e30\u7684\u306b\u3084\u308a\u305f\u3044\u306a\u3089<\/p>\n<pre>ls -lt --time-style=+'%Y-%m-%d %H:%M:%S' `find . -name \"*\" -type f -print`<\/pre>\n<p>\u62e1\u5f35\u5b50\u3067<\/p>\n<pre> ls -lX<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3067<\/p>\n<pre>ls -lS<\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u3057\u305f\u3044\u5834\u5408\u306f<\/p>\n<pre>du -hcs **|sort -n<\/pre>\n<p>\u3061\u3087\u3044\u3068\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u7686\u3055\u3093\u3082\u81ea\u5206\u306f\u4f7f\u3063\u3066\u308b\u3051\u3069\u3001\u307e\u308f\u308a\u306f\u3042\u307e\u308a\u77e5\u3089\u306a\u3044\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u30fb\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u3063\u305f\u3089\u305c\u3072\u6559\u3048\u3066\u4e0b\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u6751\u4e0a\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u30b5\u30fc\u30d0\u30fc\u3067\u3044\u308d\u3044\u308d\u3068\u8abf\u67fb\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u305d\u306e\u6642\u306b\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3092\u307e\u3068\u3081\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u30d5\u30a1\u30a4\u30eb\u95a2\u9023\u3067\u3059\u3002<br \/><a href=\"https:\/\/www.techscore.com\/blog\/2012\/10\/24\/my-famous-command2\/\">\u7d9a\u304d\u3092\u8aad\u3080...<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[23,28],"_links":{"self":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/222"}],"collection":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":1,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":18028,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions\/18028"}],"wp:attachment":[{"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techscore.com\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}