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