<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Random Musings&#187; fedora meme</title> <atom:link href="http://www.nslms.com/tag/fedora-meme/feed/" rel="self" type="application/rss+xml" /><link>http://www.nslms.com</link> <description></description> <lastBuildDate>Wed, 06 Jul 2011 20:47:34 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Fedora Bash History Meme</title><link>http://www.nslms.com/2008/04/16/fedora-bash-history-meme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2008/04/16/fedora-bash-history-meme/#comments</comments> <pubDate>Wed, 16 Apr 2008 15:40:11 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[bash history]]></category> <category><![CDATA[fedora meme]]></category> <category><![CDATA[linkedin]]></category> <guid
isPermaLink="false">http://www.nslms.com/2008/04/16/fedora-bash-history-meme/</guid> <description><![CDATA[I just learned about a Bash History Meme originated at Planet Fedora from a blog I read regularly. In short, you run the following command in bash, and show your results. history &#124; awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'&#124;sort -rn&#124;head My results from my home box are as follows; 103 ls [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2008%2F04%2F16%2Ffedora-bash-history-meme%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2008%2F04%2F16%2Ffedora-bash-history-meme%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>I just learned about a Bash History Meme originated at <a
href="http://planet.fedoraproject.org/">Planet Fedora</a> from a <a
href="http://basildoncoder.com/blog/">blog</a> I read regularly.</p><p>In short, you run the following command in bash, and show your results.</p><pre lang="bash">
history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
</pre><p>My results from my home box are as follows;</p><pre lang="bash">
103 ls
59 cd
52 exit
38 vi
38 firefox
29 for
22 su
18 /opt/hdv/myworkflow.sh
14 ssh
13 diff
</pre><p>Seems I&#8217;m unwilling to simply close my terminal window in KDE, but instead have to type &#8220;exit&#8221;.  The &#8220;myworkflow.sh&#8221; script is a work in progress which I hope to one day post about.  It does stuff to help me convert and do post production on video from my HDV camcorder.  I&#8217;ve been using &#8220;diff&#8221; to compare original files with modified ones for web updates I&#8217;ve been doing for clients.</p><p>Here&#8217;s the results from my web hosting box;</p><pre lang="bash">
394 ls
212 cd
89 vi
77 exit
60 du
30 mv
28 rm
20 mkdir
19 pwd
12 cp
</pre><p>Suppose there&#8217;s nothing particularly interesting here.  I was checking a file upload progress in a very nasty way by calling &#8220;du&#8221;, what can I say..  I&#8217;m lazy.</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2008/04/16/fedora-bash-history-meme/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora%20Bash%20History%20Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=Fedora+Bash+History+Meme&amp;link=http://www.nslms.com/2008/04/16/fedora-bash-history-meme/&amp;notes=I%20just%20learned%20about%20a%20Bash%20History%20Meme%20originated%20at%20Planet%20Fedora%20from%20a%20blog%20I%20read%20regularly.%0D%0A%0D%0AIn%20short%2C%20you%20run%20the%20following%20command%20in%20bash%2C%20and%20show%20your%20results.%0D%0A%0D%0A%0D%0Ahistory%20%7C%20awk%20%27%7Ba%5B%242%5D%2B%2B%20%7D%20END%7Bfor%28i%20in%20a%29%7Bprint%20a%5Bi%5D%20%22%20%22%20i%7D%7D%27%7Csort%20-rn%7Chead%0D%0A%0D%0A%0D%0AMy%20results%20from%20my%20home%20box%20are%20as%20follo&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2008/04/16/fedora-bash-history-meme/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
