In the DOS operation interface of windows, the command for Screen Cleaning is cls. What is the command for Screen Cleaning in linux? The following describes how to clear screen commands in linux.
(1) clear
This command will refresh the screen. In essence, it only enables the terminal to display a page backward. If you scroll up the screen, you can see the previous operation information. This command is generally used.
(2) reset
This command will completely refresh the terminal screen, and the input operation information of the terminal will be cleared. This is refreshing, but the entire command process is slow and rarely used.
(3) an alias for using the clear screen command is introduced as follows:
[Root @ localhost ~] $ Alias cls = 'clear'
[Root @ localhost ~] $ Cls
After executing the preceding command, you can directly enter the cls command to implement the same clear screen command as clear.
Articles you may be interested in
- Linux File Content statistics command wc command usage details
- Summary of linux Command for viewing File Content
- Delete files in linux. Detailed explanation of the rm command for folder commands
- Linux chmod (file or folder permission setting) command parameters and Usage Details
- How many lines of files can be viewed in linux?
- Linux Command file directory management cat command
- Run commands on the Linux background (run without hanging up)
- Create a folder (mkdir) command in linux