strings

Find printable strings in an object file or binary. More information: <https://manned.org/strings>.

Install

All systems
curl cmd.cat/strings.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/strings strings powered by Commando

Find printable strings in an object file or binary. More information: <https://manned.org/strings>.

  • Print all strings in a binary:
    strings path/to/file
  • Limit results to strings at least n characters long:
    strings -n n path/to/file
  • Prefix each result with its offset within the file:
    strings -t d path/to/file
  • Prefix each result with its offset within the file in hexadecimal:
    strings -t x path/to/file

© tl;dr; authors and contributors