Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to check file size in Linux system

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article "how to view the file size in the Linux system" is not quite understood by most people except programmers. Today, in order to make you understand "how to view the file size in the Linux system", Xiaobian summed up the following contents, which have a certain reference value, detailed steps are clear, and the details are handled properly. I hope you can get something through this article. Next let's take a look at the specific content.

1. View the memory status of the virtual machine df-hl

2. Check the Linux directory size du-sh / * 1

3. View the total size of du-sh in the current directory

4. Check the file size du-sh / home/* in the current directory

Du-h-x-- max-depth=1 1

5. Ls simple instruction 5.1. view hidden files (dotted with file prefix) ls-al

5.2.Files in the current directory are sorted in k/M/G descending order (inaccurate sorting of folders) ls-Shl disadvantages: this directive can only view the size of each folder under the current directory, but does not include what is under each folder. This directive is generally used to check the file size under the last level directory (not the folder size).

5.3. present the file ls-hl in the form of k/M/G

What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.

Thank you for your reading. I hope you have a certain understanding of the key issue of "how to check the file size in the Linux system". The specific usage still needs to be understood through hands-on experiments. Try it quickly. If you want to read more articles about relevant knowledge points, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report