size

Displays the sizes of sections inside binary files. More information: <https://sourceware.org/binutils/docs/binutils/size.html>.

Install

All systems
curl cmd.cat/size.sh
Debian Debian
apt-get install binutils
Ubuntu
apt-get install binutils
Alpine
apk add binutils
Arch Arch Linux
pacman -S binutils
image/svg+xml Kali Linux
apt-get install binutils
CentOS
yum install binutils
Fedora
dnf install binutils
Windows (WSL2)
sudo apt-get update sudo apt-get install binutils
OS X
brew install binutils
Raspbian
apt-get install binutils
Docker
docker run cmd.cat/size size powered by Commando

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

© tl;dr; authors and contributors