Check Files Size Using ls Command
Sometimes we meet trouble in disk capacity. If we work within CLI, how do we know which files had the biggest size? Today, those kind of troubles won't be exist any longer. Just type the
Example, I want to check the files inside the /var directory. I just type the command below.
I you confuse, just type
ls
command with -h
option.Example, I want to check the files inside the /var directory. I just type the command below.
ls -lsah /var
I you confuse, just type
man ls
.