How to view the file size--linux l command

Source: Internet
Author: User

How to view file sizes--linuxof theLCommand

with Linux so long, the individual in the view of permissions, file size, etc., has been using the ls-l command to see, today accidentally found the original L command ,l Command personally feel more useful than ls-l, next we compare.

find a directory. We use ls–l to see the total size of the current directory file, as well as permissions, and so on.

and then we compare L Command

can find the difference between, we have been able to ls-l on the basis of the unit, indicating a lot of good.

now let 's take a look at the use of the L command

can see L commands can also be applied with parameters (no detailed solution)

share, sometimes, your disk space is not enough, want to find out which file is the space to compare all the time, we can with the du command to find

There are many parameters to the Du command, so it is not described in detail and is provided here only as a usage.

Du–lh

DU–LH can find more details about the size of the file.

Summarize:

A little bit of sharing, hoping to help everyone

How to view the file size--linux l command

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.