I learned a little about the linux Command-ls command

Source: Internet
Author: User
I learned a little about linux Command-ls command-general Linux technology-Linux technology and application information. The following is a detailed description. MPs queues can be used to conveniently display the content of the file list, because sometimes there are many files, and it is difficult to display the complete content on a single screen. Therefore, you can use pipelines:

There are two types of pipelines:

Ls | more
Ls | less

The latter is better, because the latter can roll up or down, but the former cannot.

In addition, if you use remote login, putty and other software can be directly scroll with the mouse, good.

Finally, we can change ls to an alias in the. bashrc file.

Alise ls-x | less

In this case, the default ls is to use the MPs queue function, and multiple columns can be displayed.

Are there any side effects? I don't know. I also just learned.

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.