pavement

Strings

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
[[strings]] is like [[grep]] but for non-text files.
+
[[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 09: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.

Personal tools