
Command History (cont)
Korn shell doesn't use !, it uses 'r':
linux$ r 15
echo "Hello, World!"
Hello, World!
Using the initial part of the command name
linux$ r p
pwd
/home/reegen
The 'r' command is actually an alias you can use in Bash:
linux$ alias r='fc -e -'
Copyright 2005, Bri Hatch of Onsight, Inc.
Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2005
Presentation created using vim and MagicPoint.