Trịnh Quốc Lâm
New member
How do I find the size of a file in Linux?
Answer
Using the ls Command
Answer
Using the ls Command
- –l – displays a list of files and directories in long format and shows the sizes in bytes.
- –h – scales file sizes and directory sizes into KB, MB, GB, or TB when the file or directory size is larger than 1024 bytes.
- –s – displays a list of the files and directories and shows the sizes in blocks.