Content deleted Content added
→External links: Subtitle no longer accurate; not needed anyway |
m v2.05b - Bot T13 CW#549 - Fix errors for CW project (Split link) |
||
(35 intermediate revisions by 14 users not shown) | |||
Line 1:
{{Short description|Shell command for extracting printable text from a binary file}}
{{lowercase}}
{{distinguish|string (computing)}}
| name = strings
| logo =
| screenshot = Strings Command.png
| screenshot size =
| caption = The {{code|strings}} command
| author =
| developer =
| released =
| latest release version =
| latest release date =
| programming language = [[C (programming language)|C]]
| operating system = [[Unix]], [[Unix-like]], [[Plan 9 from Bell Labs|Plan 9]], [[Inferno (operating system)|Inferno]]
| platform = [[Cross-platform]]
| genre = [[Command (computing)|Command]]
| license = Plan 9: [[MIT License]]
| website =
}}
<code>'''strings'''</code> is a [[Shell (computing)|shell command]] that extracts [[printable character]] [[String (computer science)|strings]] from a [[computer file|file]] {{endash}} which is particular useful for analyzing the content of a [[binary file]]. By definition, a binary file contains data that is not printable text yet a binary file often does contain some printable character text {{endash}} often in relatively short sequences distributed throughout the file. These portions of the binary file can be informative as to what the file contains overall. For a [[text file]], a file containing all printable characters, the command prints the entire file content, and therefore, provides no utility over more commonly used file output commands such as <code>[[cat (Unix)|cat]]</code>.
The command is available in [[Unix]], [[Plan 9 from Bell Labs|Plan 9]], [[Inferno (operating system)|Inferno]], and [[Unix-like]] systems. It is part of the [[GNU Binary Utilities]] ({{mono|binutils}}), and has been
▲It is part of the [[GNU Binary Utilities]] (binutils), and has been ported to other operating systems including [[Microsoft Windows]].<ref>[[cygwin]]</ref>
==Example==
dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 | less▼
The following command searches the system's [[BIOS]] for strings that are at 8 characters long:
==See also==▼
▲{{Portal|Free software}}
▲==See also==
{{Portal|Free and open-source software}}
* {{Annotated link|GNU Debugger}}
* {{Annotated link|List of POSIX commands}}
* {{Annotated link|Paste (Unix)}}
* {{Annotated link|Strip (Unix)}}
==References==
Line 26 ⟶ 44:
==External links==
{{Wikibooks|Guide to Unix|Commands}}
▲{{One source|date=July 2008}}
* {{man|cu|strings|SUS}}
* {{man|1|strings|Plan 9}}
* {{man|1|strings|Inferno}}
{{
{{Plan 9 commands}}
[[Category:Unix text processing utilities]]
[[Category:Unix SUS2008 utilities]]
[[Category:Plan 9 commands]]
[[Category:Inferno (operating system) commands]]
[[Category:String (computer science)]]
{{unix-stub}}
|