strings
From NetBSD Wiki
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.
