The most used command to clear the screen on Linux Terminal (Command Line) is obviously clear, but do you know there are some more ways that you can try out!
Ways to clear Linux Terminal Screen
- Using Clear command
- Using Keyboard shortcut: Control + L
- Using Alias
root@myLinux# clear
You can know more about this command by using the help!
root@myLinux# clear ?
Usage: clear [options]
Options:
-T TERM use this instead of $TERM
-V print curses-version
-x do not try to clear scrollback
Just press Control + L (Command + L if on macOS), you will see that the screen will get cleared! When you do this you will see not the whole screen is cleared at once, but command-by-command, so you can press Control + L, multiple times to clear as much screen real estate as you want!

If you want to use your own word as a command to clear screen, you can make use of Aliases, just update bash_aliases to add you custom alias,
# sudo nano ~/.bash_aliases
Add the following to the file and save: alias cls="clear"
# sudo source ~/.bash_aliases
- How to Display content of a file in Terminal Screen?
- How to Install CVS Version Control on Linux/Ubuntu
- How to install and Configure sar sysstat tools in Ubuntu Linux
- ls command to list only directories
- [Ubuntu] Search a package and versions using apt command
- zsh hello world example
- Linux Remove or Delete Files and Directories using Terminal Commands
- How to tar.gz a directory or folder Command
- Calculate days between dates using dateutils ddiff command
- How to ls command to output one entry per line [macOS/Linux/Bash]
- 3 Commands to stop Nginx Server
- Create and write file in single Linux/macOS command
- SCP Copy all files from directory to Local Folder
- How to go to the End of File in Nano Editor
- How to remove/delete a directory in Linux/macOs
- How to Copy Entire Directory to another Directory in Linux
- Execute .bin and .run file Ubuntu Linux
- The Date Command and its usage [Linux - Unix - macOS]
- Fix - ssh-copy-id no identities found error
- How to check uptime of Linux/Unix/macOS system/server using console command?
- How to Select All text in vim/vi editor using Keyboard
- Linux: Create a New User and Password and Login Example
- Command to display epoch time Terminal
- How to install curl on Alpine Linux
- How to exit from nano command
- How to download and install macOS 13 Ventura - MacOS
- How to clear Mac Terminal screen - MacOS
- [Solved] com.sun.xml.ws.transport.http.servlet.WSServletContextListener ClassNotFoundException - Java
- How to change the name of your Mac running on macOS Ventura 13 - MacOS
- Install and Run Cassandra on Docker Desktop - Docker
- Channel 50 SMSes received every few minutes Android Phones - Android
- How to create a SharePoint list from an existing list with same columns, views, formatting, data - SharePoint
- Android: Save Data in local Db using Android Room - Android