size: add page (#8604)

pull/1/head
Suyash Bhawsar 2022-10-01 20:46:15 +05:30 committed by GitHub
parent c86b0fd2eb
commit f6e2f83cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/linux/size.md Normal file
View File

@ -0,0 +1,20 @@
# size
> Displays the sizes of sections inside binary files.
> 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}}`