CentOS clear command clear

Source: Internet
Author: User

In the DOS era, the command to list directories is dir and the command to clear the screen is cls.

Similar commands in Linux areLs andClear. If you are not used to it, use the same command as an alias:

[Blackrose @ localhost ~] $ Alias dir = 'LS-l'
[Blackrose @ localhost ~] $ Dir
Total usage 36
Drwxr-xr-x. 2 blackrose 4096 February 13 19:28 Desktop
Drwxr-xr-x. 2 blackrose 4096 February 7 17:49 Document
Drwxr-xr-x. 3 blackrose 4096 16:46 Download
Drwxr-xr-x. 2 blackrose 4096 February 7 19:17 Music
Drwxr-xr-x. 2 blackrose 4096 February 10 13:48 Picture
Drwxrwxr-x. 2 blackrose 4096 February 12 20:11 Program
Drwxr-xr-x. 2 blackrose 4096 17:49 Public
Drwxr-xr-x. 2 blackrose 4096 February 7 17:49 Template
Drwxr-xr-x. 2 blackrose 4096 17:49 Video

[Blackrose @ localhost ~] $ Alias cls = 'clear'
[Blackrose @ localhost ~] $ Cls


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.