You must be familiar with clear command to clear the text on the Terminal screen on macOS, do you know there is a keyboard shortcut as well to the same operation.
How to clear screen of Terminal using Keyboard?
Press Command + L - this will clear the console.
Note: Unlike clear command they keyboard shortcut clears one command at a time. It will not clear the whole screen.
Example:code2care@mac ~ % pwd
/Users/code2care
code2care@mac ~ % who
code2care console Jun 14 12:20
code2care ttys000 Jun 27 14:20
code2care@mac ~ % date
Sun Jun 27 14:24:22 GMT 2021
code2care@mac ~ %
Press: Command + L
code2care@mac ~ % pwd
/Users/code2care
code2care@mac ~ % who
code2care console Jun 14 12:20
code2care ttys000 Jun 27 14:20
code2care@mac ~ %
Press: Command + L
code2care@mac ~ % pwd
/Users/code2care
code2care@mac ~ %
Press: Command + L
code2care@mac ~ %
![macOS Terminal Clear Screen using Keyboard Command and L Keys macOS Terminal Clear Screen using Keyboard Command and L Keys](https://code2care.org/q/clear-screen-shortcut-macos-terminal/images/macOS Terminal Clear Screen using Keyboard Command and L Keys.gif)
macOS Terminal Clear Screen using Keyboard Command and L Keys
Have Questions? Post them here!
More Posts related to MacOS,
- Fix: grunt: command not found (Mac/Windows)
- AppleScript Example with TextEdit
- How to copy Password of Wifi on your Mac
- Install OpenJDK Java (8/11/17) versions using brew on Mac (Intel/M1/M2)
- How to check if a port is in use using terminal [Linux or macOS]
- Cut, Copy and Paste Keyboard Shortcuts on Mac Keyboard
- [macOS] NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK XX or newer is required.
- How to Remove Widgets from macOS Sonoma 14 Desktop
- Turn off Auto-Capitalization on macOS Ventura 13
- How to Go To /usr/local/bin on Mac Terminal?
- How to Open TextEdit on Mac
- Mac: How to Open Android Studio from Terminal
- How to change the default location of Mac Screenshot
- Display Seconds in Digital Clock on Mac Menu Bar [macOS]
- How to install homebrew (brew) on M1 Mac
- Must Know Homebrew Commands for Mac/Linux Users
- Steps to Uninstall Roblox on Mac (macOS)
- How to change the System Settings Sidebar icon size Mac Ventura 13
- How to set Out Of Office (OOO) on Outlook for Mac [Updated 2023]
- Trigger Notification Center Message using Mac Terminal Command
- [fix] macOS Ventura - Python3 xcrun: error: invalid active developer path missing xcrun at CommandLineTools
- How to Install Rust Language on Mac (macOS)
- How to minimize all Windows in Mac
- Display ls command file sizes in KB (kilobytes) MB (megabytes) or GB (gigabytes) [Linux/macOS]
- How to make TextEdit the default text Editor on Mac
More Posts:
- Read a File Line By Line using Java 8 Stream API - Java
- How To Remove Only Conditional Formatting in Excel - Microsoft
- How to extract numbers as list from Python String - Python
- Java 8: Convert Iterator to Stream Examples - Java
- Fix [Fatal Error] :2:6: The processing instruction target matching [xX][mM][lL] is not allowed. - Java
- Terminal display next month Calendar - Linux
- Android Studio Error: Default Activity not found - Android-Studio
- Multiple Microsoft 365 Services Down (Outlook, Teams, SharePoint, OneDrive) - 25 January 2023 (Solved) - Microsoft