Strings
From FreeBSDwiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | [[strings]] is like [[ | + | [[strings]] is sort of like a console-safe version of [[cat]] for non-text files. It will only output the plain console-readable text portions of a given file, making it useful for figuring out what an unknown file is WITHOUT possibly hosing up the console of your shell session to the point of having to close it and open a new one. |
+ | |||
[[Category:System Commands]] | [[Category:System Commands]] |
Latest revision as of 08:20, 7 May 2007
strings is sort of like a console-safe version of cat for non-text files. It will only output the plain console-readable text portions of a given file, making it useful for figuring out what an unknown file is WITHOUT possibly hosing up the console of your shell session to the point of having to close it and open a new one.