{"id":93,"date":"2008-04-12T20:15:09","date_gmt":"2008-04-13T01:15:09","guid":{"rendered":"http:\/\/www.kralidis.ca\/blog\/?p=93"},"modified":"2008-04-13T15:24:00","modified_gmt":"2008-04-13T20:24:00","slug":"my-shell-history","status":"publish","type":"post","link":"https:\/\/www.kralidis.ca\/blog\/2008\/04\/12\/my-shell-history\/","title":{"rendered":"My Shell History"},"content":{"rendered":"<p>Neat <a title=\"post\" href=\"http:\/\/www.perrygeo.net\/wordpress\/?p=112\">post<\/a> by Matthew Perry.  I couldn&#8217;t help but run the same command:<\/p>\n<pre>$ history|awk '{a[$2]++ } END{for(i in a){print a[i] \" \" i}}'|sort -rn|head<\/pre>\n<pre>188 cd<\/pre>\n<pre>151 svn<\/pre>\n<pre>113 vi<\/pre>\n<pre>88 ll<\/pre>\n<pre>60 sudo<\/pre>\n<pre>53 more<\/pre>\n<pre>40 make<\/pre>\n<pre>40 .\/dd.py<\/pre>\n<pre>30 .\/run_test.py<\/pre>\n<pre>30 ls<\/pre>\n<p>dd.* is my tempfile name prefix for quick and dirty scripts.  run_test.py is from running the <a title=\"MapServer\" href=\"http:\/\/mapserver.gis.umn.edu\/\">MapServer<\/a> <a title=\"msautotest\" href=\"http:\/\/mapserver.gis.umn.edu\/development\/Tests\/regression_testing\/\">msautotest<\/a> regression test suite when developing and testing code.<\/p>\n<p>What does your shell history look like?<\/p>\n<link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.css\" \/>\n<!--[if lte IE 8]>\n  <link rel=\"stylesheet\" href=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.ie.css\" \/>\n<![endif]-->\n<script src=\"http:\/\/cdn.leafletjs.com\/leaflet-0.5\/leaflet.js\"><\/script>\n<style type=\"text\/css\">#map93 { width: 300px; height: 200px; }<\/style>\n\n<div id=\"map93\"><\/div>\n<script type=\"text\/javascript\">\n  var map93 = L.map('map93').setView([43.620495, -79.513198], 10);\n  L.tileLayer('http:\/\/{s}.tile.osm.org\/{z}\/{x}\/{y}.png', {\n      attribution: '&copy; <a href=\"http:\/\/osm.org\/copyright\">OpenStreetMap<\/a> contributors'\n  }).addTo(map93);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Neat post by Matthew Perry. I couldn&#8217;t help but run the same command: $ history|awk &#8216;{a[$2]++ } END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217;|sort -rn|head 188 cd 151 svn 113 vi 88 ll 60 sudo 53 more 40 make 40 .\/dd.py 30 .\/run_test.py 30 ls dd.* is my tempfile name prefix for quick and dirty [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,3],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-open-source","category-technology"],"_links":{"self":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kralidis.ca\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}