The Artima Developer Community
Sponsored Link

Java Buzz Forum
What's In Your History

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
What's In Your History Posted: Apr 11, 2008 8:08 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: What's In Your History
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement
yclog: Learned from KageSenshi that, there is a meme happening at the Fedora Planet, that is to execute this command:

history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head

WARNING: COPYING/PASTING AND EXECUTING A COMMAND LINE FROM THE INTERNET MAY BE HAZARDOUS TO YOUR HEALTH AND CAREER.

With that said, here goes mine result:

[weiqi@gao] $ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
132 ls
113 cd
23 vi
22 stty
14 pwd
13 ssh
11 less
11 java
10 ant
9 svn

(And you all know why I ran stty 22 times in the past 1000 command lines.)

Read: What's In Your History

Topic: Rumor: Google To Launch BigTable As Web Service Previous Topic   Next Topic Topic: IceWeasel 3b5 Howto

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use