Strings (Unix)
The command searches for sequences of printable characters that end with a NUL character but ignores any sequence that is less than a specified length or 4 characters by default. Some implementations provide options for determining what is recognized as a printable character, which is useful for finding non-ASCII and wide character text. By default, it only selects strings from the initialized and loaded sections of an object file. For other types of files, it selects strings from the whole file. The command is available in Unix, Plan 9, Inferno, and Unix-like systems. It is part of the GNU Binary Utilities (binutils), and has been implemented in other operating systems including Windows.[1] ExampleThe following command searches the system's BIOS for strings that are at 8 characters long: dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 See also
ReferencesExternal linksThe Wikibook Guide to Unix has a page on the topic of: Commands
|
Portal di Ensiklopedia Dunia