Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use clear screen cleaning command in CentOS

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

CentOS how to use clear screen command, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

In the DOS era, the command to list the directory was dir, and the command to clear the screen was cls.

Similar commands in Linux are ls and clear. If we are not used to it, we can use aliases to use the same command:

[blackrose@localhost] $alias dir='ls-l'

[blackrose@localhost ~] $dir

Total dosage 36

Drwxr-xr-x. 2 blackrose blackrose 4096 February 13 19:28 Desktop

Drwxr-xr-x. 2 blackrose blackrose 4096 February 7 17:49 Document

Drwxr-xr-x. 3 blackrose blackrose 4096 February 12 16:46 Download

Drwxr-xr-x. 2 blackrose blackrose 4096 February 7 19:17 Music

Drwxr-xr-x. 2 blackrose blackrose 4096 February 10 13:48 Picture

Drwxrwxr-x. 2 blackrose blackrose 4096 February 12 20:11 Program

Drwxr-xr-x. 2 blackrose blackrose 4096 February 7 17:49 Public

Drwxr-xr-x. 2 blackrose blackrose 4096 February 7 17:49 Template

Drwxr-xr-x. 2 blackrose blackrose 4096 February 7 17:49 Video

[blackrose@localhost ~] $alias cls='clear'

[blackrose@localhost ~] $cls

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report