LWN.net Logo

CLI Magic: Using command history in the bash shell (Linux.com)

CLI Magic: Using command history in the bash shell (Linux.com)

Posted Jul 4, 2006 7:38 UTC (Tue) by glettieri (subscriber, #15705)
In reply to: CLI Magic: Using command history in the bash shell (Linux.com) by xoddam
Parent article: CLI Magic: Using command history in the bash shell (Linux.com)

!$ is useful. However, I prefer "Alt + .": it rewrites the last argument from the previous command line, and you can use it many times to get arguments further down in the command history.


(Log in to post comments)

it just gets better!

Posted Jul 4, 2006 7:46 UTC (Tue) by xoddam (subscriber, #2322) [Link]

"Invent something in the morning and they're making cheap imitations by
noontime!" -- Sesame Street

(I wish I could remember the name of the inventor; Google can't help me)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds