BreadCrumbs: History Command
History Command
From Luke Jackson
(Difference between revisions)
Revision as of 18:05, 4 January 2007 (edit) Ljackson (Talk | contribs) ← Previous diff |
Revision as of 18:05, 4 January 2007 (edit) Ljackson (Talk | contribs) (→Syntax) Next diff → |
||
Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
- | <pre> | + | lazy.... |
- | + | ||
- | history | + | |
- | + | ||
- | </pre> | + | |
- | + | ||
== Usage == | == Usage == |
Revision as of 18:05, 4 January 2007
history -- Linux/Unix/Mac OS X find command
Contents |
Introduction
You can use history to view a list of the commands executed during the current $SHEL session. It is very helpful when are you are typing a lot of complex commands.
Syntax
lazy....
Usage
usage: history [-c] [-d offset] [n] or history -awrn [filename] or history -ps arg [arg...]
Examples
List All Entries
history
Execute Entry
!<offset>
Delete Entry
history -d <offset>