Terminals
A terminal is a text-based application that reads and writes to a shell. A "shell" and a "terminal" may be the same application (such as PowerShell) or they may be different applications (such as with Windows Terminal).
Common terminal keyboard shortcuts
Shortcut | Use | Notes |
---|---|---|
⬆ | Scroll up through previous commands | |
⬇ | Scroll down through previous commands | |
Ctrl +a | Jump to beginning of line | Works in most text editors |
Ctrl +e | Jump to end of line | Works in most text editors |
Ctrl +l | Clear screen | Similar to the clear command |
Ctrl +r | Search & execute previous command | |
Ctrl +u | Delete everything to the left of the cursor | Works in VS Code |
Ctrl +k | Delete everything to the right of the cursor | Works in VS Code |
Resources to learn about terminals
- Terminal Cheat Sheet for Mac
- Difference Between a Console and a Terminal and a Shell by Scott Hanselman
Deeper Knowledge on Terminals
Command-line Interfaces (CLI)
Programs that take commands through terminals and shells
Bourne Again Shell (Bash)
A Unix shell
Shells
Shells process text based commands
Git Bash
A Bash emulator and terminal for Windows
PowerShell
PowerShell: A command-line shell and scripting language
Broader Topics Related to Terminals
Shells
Shells process text based commands