WARNING: This site is intended for online use only; mass-downloading of pages degrades the server and is prohibited.
If you attempt to use tools to mass-download the site, you may be blocked permanently by automated software.
If you want to read this CertiGuide offline, please use one of the links on the left to purchase a convenient PDF copy. Thank you.

Read this whole guide offline with no ads, for a very low price!
Click Here!

Custom Search






Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  Basic Concepts and Procedures for Creating, Viewing and Editing Files and Directories
           9  Shell Information

Previous Topic/Section
Shell Information
Previous Page
Pages in Current Topic/Section
1
Next Page
Number
Next Topic/Section

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.


Previous Topic/Section
Shell Information
Previous Page
Pages in Current Topic/Section
1
Next Page
Number
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



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.