[CentOS] reuse the history
ann kok
annkok2001 at yahoo.comFri Oct 17 18:02:59 UTC 2008
- Previous message: [CentOS] Recommended Configuration Control Software?
- Next message: [CentOS] reuse the history
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all
I want to reuse command in the shell historys
Which command I can only select "traceroute 192.168.0.5" to run?
$ history |grep traceroute
26 traceroute 192.168.0.5
27 traceroute -n 192.168.0.5
28 traceroute 192.168.0.10
29 traceroute yahoo.com
46 traceroute 192.168.0.33
eg:
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
http://mail.yahoo.com
- Previous message: [CentOS] Recommended Configuration Control Software?
- Next message: [CentOS] reuse the history
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list