| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
History The Bash shell stores a history of the most recent commands used in a file called .bash_history (notice that this is a hidden file). Viewing this file using less will show typically, the last 500 commands issued. Alternatively, the history list can be seen by typing the command: history This will send a list of the commands that have been executed to the screen with a number that is their order in the history buffer. These commands can be recalled and re-executed or edited and then executed. A command can be recalled by repeatedly depressing the up arrow key until the command that is to be re-executed appears and typing <enter>. There are several other ways to recall the commands and modify them, two of which will be discussed here.
Home - Table Of Contents - Contact Us CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com Version 1.0 - Version Date: March 29, 2005 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||