
Command History (cont)
You can re-run something from your history:
Using the command history number:
linux$ !15
echo "Hello, World!"
Hello, World!
Using the initial part of the command name
linux$ !p
pwd
/home/reegen
Note that it repeats the command name for you before running it.
Copyright 2005, Bri Hatch of Onsight, Inc.
Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2005
Presentation created using vim and MagicPoint.