What to do if the terminal content is not fully displayed under centos

王林
Release: 2020-03-31 09:48:36
Original
7190 people have browsed it

What to do if the terminal content is not fully displayed under centos

Problem:

There is a large amount of information on the terminal screen, and the content on one or several screens is not fully displayed.

Solution:

1. Add a parameter |more

For example:

ls -l  |more
Copy after login

After typing the command in this way, the screen information will stay at the first On the page, after hitting Enter again, one more line is displayed.

(Recommended tutorial: centos tutorial)

But if there is too much information and it is too troublesome to hit Enter, you can use the second method.

2. Write to a file

For example:

ls -l  > a.txt
Copy after login

In this way, you can view the information completely by editing a.txt again.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of What to do if the terminal content is not fully displayed under centos. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!