CLI Magic: Using command history in the bash shell (Linux.com)
Posted Jul 4, 2006 3:45 UTC (Tue) by
michaelk (subscriber, #1978)
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)
! and such features are nice to know about for historical reasons (and to prove you're a l33t h4x0r), but they're about as useful as ex. AFAIK there are no terminals left that can't rewrite the prompt line; let me know if anyone's stuck with a Teletype® :-)
Much of the ! syntax is arcane, but a few things are very useful still. How about:
$ vi myprog.c
...
:wq
$ cc !$
And similar. That's faster than cursor+editing keys.
(
Log in to post comments)