{"id":158,"date":"2008-08-04T11:27:34","date_gmt":"2008-08-04T19:27:34","guid":{"rendered":"http:\/\/www.outflux.net\/blog\/?p=158"},"modified":"2008-08-04T11:27:34","modified_gmt":"2008-08-04T19:27:34","slug":"late-to-the-history-meme","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2008\/08\/04\/late-to-the-history-meme\/","title":{"rendered":"(late to the) history meme"},"content":{"rendered":"<p>My history isn&#8217;t entirely interesting, but does seem to show the single-mindedness of my terminals:<\/p>\n<blockquote><p><code>$ history | awk '{a[$2]++ } END{for(i in a){print a[i] \" \" i}}' | sort -rn | head<br \/>\n73 cd<br \/>\n68 vi<br \/>\n39 ls<br \/>\n24 bzr<br \/>\n18 exit<br \/>\n18 cat<br \/>\n13 u-build<br \/>\n13 sudo<br \/>\n13 am<br \/>\n10 echo<\/code><\/p><\/blockquote>\n<p>Random details:<\/p>\n<ul>\n<li>I use a <em>lot<\/em> of terminals, and have only just recently gotten into the habit of using Ctrl-D to close them &#8212; as seen above, I use <code>exit<\/code>.<\/li>\n<li><code>am<\/code> is a script that takes <code>apt-cache madison \"$@\"<\/code> and shows only the most recent version from each release.<\/li>\n<li><code>u-build<\/code> is a script that prepares and performs a build in my <a href=\"https:\/\/help.ubuntu.com\/community\/SbuildLVMHowto\">sbuild\/schroot\/lvm<\/a> environments.<\/li>\n<li><code>echo<\/code> snuck onto this list because I was verifying some x86 machine code, and kept typo-ing it as I ran &#8220;variations&#8221; of (the correct command line) <code>echo -ne '\\x33\\xdb\\x68\\x70\\x77\\x6e\\x0a\\x8b\\xcc\\x8d\\x43\\x04\\x43\\x8b\\xd0\\xcd\\x80\\xeb\\xfa' | ndisasm -u -<\/code><\/li>\n<li>It seems I&#8217;m in need of the same thing <a href=\"http:\/\/erinn.org\/\">helix<\/a> noted from Greg KH&#8217;s <a href=\"http:\/\/twitter.com\/gregkh\">terminal-tied-to-Twitter<\/a>: an alias for <code>cd \"$@\" && ls<\/code> instead of constantly typing <code>cd<\/code> followed by <code>ls<\/code>.<\/li>\n<\/ul>\n<p style='text-align:left'>&copy; 2008, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>My history isn&#8217;t entirely interesting, but does seem to show the single-mindedness of my terminals: $ history | awk &#8216;{a[$2]++ } END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; | sort -rn | head 73 cd 68 vi 39 ls 24 bzr 18 exit 18 cat 13 u-build 13 sudo 13 am 10 echo Random details: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/158"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}