aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/history.txt
blob: fc6dd13b46755be5a77c05259869d5142fc1c9af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\section history history - Show and manipulate user's command history 

\subsection history-synopsis Synopsis
<pre>
history (--save | --clear)
history (--search | --delete ) (--prefix "prefix string" | --search "search string")
</pre>

\subsection history-description Description

history is used to list, search and delete user's command history.

\subsection history-examples Example

<pre>
history --save
Save all changes in history file.

history --clear
Delete all history items.

history --search --contains "foo"
Searches commands containing "foo" string.

history --search --prefix "foo"
Searches for commands with prefix "foo".

history --delete --contains "foo"
Interactively delete commands containing string "foo".

history --delete --prefix "foo"
Interactively delete commands with prefix "foo".

history --delete "foo"
Delete command "foo" from history.
<pre>