Welcome to docker.ru hosting provider linux mirror located at Moscow, Russian Federation.
Server configuration: Linux with OpenZFS, 2 x E5-2670v2, 128 GB ECC memory, 12 x 4 TB raidz2 + 1 TB SSD for L2ARC.
Network: 20 gbps uplink, IPv4 (185.253.23.31), IPv6 (2a04:8580:ffff:fffe::2).
My hostname is mirror.docker.ru
Red Hat Enterprise Linux 4: Red Hat Enterprise Linux Step By Step Guide | ||
---|---|---|
Prev | Chapter 14. Frequently Asked Questions | Next |
What are some other ways I can use command history?
If you type history, a numbered list scrolls by very quickly, showing you the previous 500 commands you have used.
You probably do not need to see all of the last 500 commands, so the command history 20 might be useful. This way, only the previous 20 commands you typed are displayed (you can use any quantity as an argument of the history command).
Here are other command history shortcuts which may be useful to you:
"Bang, bang": Typing !! (called "bang bang") executes the last command in the history.
"Bang number": Typing !number (as in !302) executes the command which is numbered 302 in the history file.
"Bang string": Typing !string (as in !rpm) executes a command with the most recent matching string from the history file.