strings

From NetBSD Wiki

Jump to: navigation, search
This article is a stub. You can help by editing it.

The strings(1) tool extracts the printable characters from a binary file. By default, it will only print words of at least 4 characters.

It is useful when searching for identifiers and copyright notices in program files:

$ strings /usr/bin/yes | grep -i -A5 copyright
@(#) Copyright (c) 1987, 1993
        The Regents of the University of California.  All rights reserved.
Personal tools