{"id":30,"date":"2010-07-30T11:52:35","date_gmt":"2010-07-30T09:52:35","guid":{"rendered":"http:\/\/roysharon.com\/blog\/?p=30"},"modified":"2010-12-19T11:55:15","modified_gmt":"2010-12-19T09:55:15","slug":"unix-tidbit-color-coded-directory-listing","status":"publish","type":"post","link":"http:\/\/roysharon.com\/blog\/30","title":{"rendered":"Unix Tidbit: Color Coded Directory Listing"},"content":{"rendered":"<div>\n<p>Each time I move onto a new Unix machine (I recently bought a new iMac!), I change the look of the terminal directory listings, from this:<img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/7Y0ZjCnuFV3Q_5y6nXxWT9PjImQMDqdOIsDx4-vwpdi3uA-y8MkCneVJFlSjlAj8jxmF-Zkm5LNs6DL0ZNt3ndaPNKvbEZboZluoeUgAZukeh5Tvtg\" alt=\"\" width=\"670px;\" height=\"130px;\" \/><\/p>\n<p>to this:<img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/4Ta-Q-eIc6ZcFGWATECIQdd9WEaL8Vqs0qXZsK6Jav3__Wi6W3CEpF573jPQyiJlIUB1ezIMhffqKjcN6zkInzsUXe6cAGce4q_rHJ7ar1uOQA3PSw\" alt=\"\" width=\"670px;\" height=\"130px;\" \/><\/p>\n<p>It\u2019s quite simple &#8212; I edit one of the bash config files (any of the files will do, but I usually choose \/etc\/bashrc), and add the following line:<\/p>\n<pre>alias ls=\"ls -aGF\"<\/pre>\n<p>That&#8217;s it!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Each time I move onto a new Unix machine (I recently bought a new iMac!), I change the look of the terminal directory listings, from this: to this: It\u2019s quite simple &#8212; I edit one of the bash config files &hellip; <a href=\"http:\/\/roysharon.com\/blog\/30\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-unix-tidbits","tag-unix"],"_links":{"self":[{"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":1,"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":31,"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/posts\/30\/revisions\/31"}],"wp:attachment":[{"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/roysharon.com\/blog\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}