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

Use the size command of linux to list the file byte size

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

What the editor shares with you today is to use the size command of linux to list the file byte size. I believe many people don't know much about it. In order to make you understand better, I summed up the following contents and looked down together. I'm sure you'll get something.

The size command, which is used to view the size of the segments and their sum in the target file, library, or executable, is a member of the GNU binary toolset GNU Binutils.

Syntax format: size [parameters] [file]

Common parameters:

Reference example

View the size of each segment of the specified program:

[root@linuxcool ~] # size / bin/size

View the segment size of each target file in the static library:

[root@linuxcool ~] # size / usr/lib64/libc.a this is the end of listing file byte sizes using linux's size command. I hope the above content can be used as a reference for everyone. If you like this article, you might as well share it for more people to see.

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

Servers

Wechat

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

12
Report