2012-06-05 04:24:42 +00:00
|
|
|
\section history history - Show and manipulate user's command history
|
|
|
|
|
|
|
|
\subsection history-synopsis Synopsis
|
|
|
|
<pre>
|
|
|
|
history (--save | --clear)
|
2012-06-12 08:47:25 +00:00
|
|
|
history (--search | --delete ) (--prefix "prefix string" | --contains "search string")
|
2012-06-05 04:24:42 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
\subsection history-description Description
|
|
|
|
|
2012-06-12 08:47:25 +00:00
|
|
|
history is used to list, search and delete user's command history
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
\subsection history-examples Example
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
history --save
|
2012-06-12 08:47:25 +00:00
|
|
|
Save all changes in history file
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
history --clear
|
2012-06-12 08:47:25 +00:00
|
|
|
Delete all history items
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
history --search --contains "foo"
|
2012-06-12 08:47:25 +00:00
|
|
|
Searches commands containing "foo" string
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
history --search --prefix "foo"
|
2012-06-12 08:47:25 +00:00
|
|
|
Searches for commands with prefix "foo"
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
history --delete --contains "foo"
|
2012-06-12 08:47:25 +00:00
|
|
|
Interactively delete commands containing string "foo"
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
history --delete --prefix "foo"
|
2012-06-12 08:47:25 +00:00
|
|
|
Interactively delete commands with prefix "foo"
|
2012-06-05 04:24:42 +00:00
|
|
|
|
|
|
|
history --delete "foo"
|
2012-06-12 08:47:25 +00:00
|
|
|
Delete command "foo" from history
|
2012-06-11 11:46:47 +00:00
|
|
|
</pre>
|