{"id":1135,"date":"2016-01-16T23:14:19","date_gmt":"2016-01-17T06:14:19","guid":{"rendered":"http:\/\/jaredrobinson.com\/blog\/?p=1135"},"modified":"2016-01-16T23:14:19","modified_gmt":"2016-01-17T06:14:19","slug":"gotchas-of-command-line-tools","status":"publish","type":"post","link":"https:\/\/jaredrobinson.com\/blog\/gotchas-of-command-line-tools\/","title":{"rendered":"Gotcha&#8217;s of command-line tools"},"content":{"rendered":"<p>I came across this recently, and I think it&#8217;s worth sharing. It outlines gotchas of commonly used commandline tools and arguments such as when &#8216;rm -rf&#8217; doesn&#8217;t remove a directory, and how to get around it, or when &#8216;wc -l&#8217; fails to count the last line in a file.<\/p>\n<p><a href=\"http:\/\/www.pixelbeat.org\/docs\/coreutils-gotchas.html\">http:\/\/www.pixelbeat.org\/docs\/coreutils-gotchas.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across this recently, and I think it&#8217;s worth sharing. It outlines gotchas of commonly used commandline tools and arguments such as when &#8216;rm -rf&#8217; doesn&#8217;t remove a directory, and how to get around it, or when &#8216;wc -l&#8217; fails to count the last line in a file. http:\/\/www.pixelbeat.org\/docs\/coreutils-gotchas.html<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,17],"tags":[],"class_list":["post-1135","post","type-post","status-publish","format-standard","hentry","category-linux","category-tech"],"_links":{"self":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/1135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":1,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/1135\/revisions"}],"predecessor-version":[{"id":1136,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/1135\/revisions\/1136"}],"wp:attachment":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/categories?post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/tags?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}