Contents
clear(1) – Linux man page
- clear – clear the terminal screen.
- clear.
- clear clears your screen if this is possible. It looks in the environment for the terminal type and then in the terminfo database to figure out how to clear the screen.
- clear ignores any command-line parameters that may be present.
- tput(1), terminfo(5)
How do I clear terminal history in Linux?
If you want to delete a particular command, enter history -d <line number> . To clear the entire contents of the history file, execute history -c . The history file is stored in a file that you can modify, as well. Bash shell users will find it in their Home directory as .bash_history .
How do I clear my command prompt?
3 Answers. NO, But you can use CLS command to clear the whole screen, Esc (Escape) key will clear the input line. In addition, pressing Ctrl + C will move the cursor to a new blank line.