← Back to Shortcut Collections
Shell

Shell

Linux's powerful command-line interface for efficient system administration and automation through shell scripts

History operation shortcuts for quickly searching and reusing past commands to dramatically streamline repetitive tasks

Ctrl+R
Reverse search history
Searches command history in reverse. You can search by typing partial commands.
💡 Hint: Reverse search
🎯 Instantly find past commands with partial search to eliminate retyping complex commands
Ctrl+P
Previous history
Moves to the previous command in history (same as ↑ key).
💡 Hint: Previous
🎯 Quickly access previous commands to efficiently execute consecutive tasks
Ctrl+N
Next history
Moves to the next command in history (same as ↓ key).
💡 Hint: Next
🎯 Navigate forward in history to return to recent commands for flexible history navigation
Ctrl+S
Forward search history
Searches command history forward (may be disabled by default).
💡 Hint: Search forward
🎯 Search history forward to efficiently reproduce specific command sequences
Ctrl+G
Cancel search
Cancels history search or other operations.
💡 Hint: Give up
🎯 Cancel history search to quickly return to normal command input