commands.sh

size

linux

Display the sizes of sections inside binary files.

More info →

Options (3)

-oboolean

Display the size of sections in a given object or executable file in [o]ctal

Example: size {{[-o|--radix=8]}} {{path/to/file}}
-dboolean

Display the size of sections in a given object or executable file in [d]ecimal

Example: size {{[-d|--radix=10]}} {{path/to/file}}
-xboolean

Display the size of sections in a given object or executable file in he[x]adecimal

Example: size {{[-x|--radix=16]}} {{path/to/file}}

Examples (4)

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
made by @shridhargupta | data from tldr-pages