tldr/pages/linux/size.md

21 lines
614 B
Markdown
Raw Normal View History

2022-10-01 16:16:15 +01:00
# size
> Display the sizes of sections inside binary files.
2022-10-01 16:16:15 +01:00
> More information: <https://sourceware.org/binutils/docs/binutils/size.html>.
- Display the size of sections in a given object or executable file:
`size {{path/to/file}}`
- Display the size of sections in a given object or executable file in [o]ctal:
`size {{-o|--radix=8}} {{path/to/file}}`
- Display the size of sections in a given object or executable file in [d]ecimal:
`size {{-d|--radix=10}} {{path/to/file}}`
- Display the size of sections in a given object or executable file in he[x]adecimal:
`size {{-x|--radix=16}} {{path/to/file}}`