History: Unterschied zwischen den Versionen
Zeile 8: | Zeile 8: | ||
=Optionen= | =Optionen= | ||
If you wish to view the history one page at a time, you can use the command below. Now, you can simply use the spacebar to view one page at a time or use the down arrow to view one line at a time: | |||
history | less | history | less | ||
To view just the last ten commands, you can use the following: | |||
history | tail | history | tail | ||
To view the last 25 commands, just use the following: | |||
history 25 | |||
Another tool you can use with history is Ctrl + R. This will output a search feature. | |||
STRG+R | STRG+R | ||
(reverse-i-search)`': | |||
schnelle Verlaufssuche durchführen | schnelle Verlaufssuche durchführen |
Version vom 6. November 2020, 11:53 Uhr
Bezeichnung
history Zeigt eine Liste mit den letzten 500 verwendeten Befehlen
Übersicht
history
Optionen
If you wish to view the history one page at a time, you can use the command below. Now, you can simply use the spacebar to view one page at a time or use the down arrow to view one line at a time:
history | less
To view just the last ten commands, you can use the following:
history | tail
To view the last 25 commands, just use the following:
history 25
Another tool you can use with history is Ctrl + R. This will output a search feature.
STRG+R
(reverse-i-search)`':
schnelle Verlaufssuche durchführen
Beispiel
history
496 ls -la 497 ls 498 history 499 ls 500 cd domains 501 cd .. 502 ls 503 history 504 cd ls 505 ls 506 cd data 507 ls 508 cd .. 509 cd domains 510 ls 511 cd .. 512 history