Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldchangelog/action.php on line 8 Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldindex/action.php on line 0 Deprecated: Function split() is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 154 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 453 Strict Standards: Only variables should be passed by reference in /DISK2/WWW/pavel-rimsky.cz/helenos/doku.php on line 71 handy_shell_commands [HelenOS UltraSPARC port]
 
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119 Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119 Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Doku_Renderer_xhtml::_tocitem() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/html.php on line 741 Strict Standards: Non-static method Doku_Renderer_xhtml::_xmlEntities() should not be called statically in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 119

dumping binary file

hexdump -v -e '/1 "%X\n"' binary.file > binary.file.dump

Dumps the contents of the binary file to the text file. Each byte of the binary file corresponds to one line id the text file. Each byte of the binary file is represented by a hexadecimal number in the text file.

setting blocks of disk images to zero

((dd count\=208 if\=image.iso) && (dd count=1 if=/dev/zero && (dd skip=209 if=image.iso))) > image2.iso

Creates a copy of the file called image.iso and saves the result to the file image2.iso; instead of the 209th block of the original file, zeros will be saved to the destination file. The block size is 512 bytes.

exploring the strings contained in a binary file

strings image.iso | less

Shows all strings (long enough sequences of printable characters) contained in a binary file. This is useful e.g. for determining the filesystem of a disk image.

 
handy_shell_commands.txt · Last modified: 2008/08/13 15:24 by 83.208.68.45
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Strict Standards: Only variables should be passed by reference in /DISK2/WWW/pavel-rimsky.cz/helenos/doku.php on line 79