[CentOS] reuse the history

ann kok annkok2001 at yahoo.com
Fri Oct 17 18:02:59 UTC 2008

Hi all

I want to reuse command in the shell historys 
Which command I can only select "traceroute" to run?

$ history |grep traceroute
   26  traceroute
   27  traceroute -n
   28  traceroute
   29  traceroute yahoo.com
   46  traceroute


history |grep traceroute | awk '{ print$2 " " print$3}' | grep 26 

Thank you

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the CentOS mailing list