strings

How To Install Strings?

How To Install Strings?

strings

Find printable strings in an object file or binary.

Maintainer: Matthias Klose



Section: devel

Install strings

  • Debian apt-get install binutils Click to copy
  • Ubuntu apt-get install binutils Click to copy
  • Alpine OS apk add binutils Click to copy
  • Arch Linux pacman -S binutils Click to copy
  • Kali Linux apt-get install binutils Click to copy
  • CentOS yum install binutils Click to copy
  • Fedora dnf install binutils Click to copy
  • Raspbian apt-get install binutils Click to copy
  • macOS brew install binutils Click to copy

Find printable strings in an object file or binary.

How to use strings?

Below are few example commands for strings that you can use in the terminal.

Print all strings in a binary:
strings fileClick to copy
Limit results to strings at least *length* characters long:
strings -n length fileClick to copy
Prefix each result with its offset within the file:
strings -t d fileClick to copy
Prefix each result with its offset within the file in hexadecimal:
strings -t x fileClick to copy
Installing strings command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of strings 2022 package in your OS.