Linux clear screen command (clear, reset)

Source: Internet
Author: User
Tags clear screen

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.