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 57 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 205 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 208 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 389 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parserutils.php on line 530 Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/cache.php on line 291 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]
 
Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/parser.php on line 66 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/lexer.php on line 292 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 22 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 49 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 213 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 241 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 295 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 328 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/handler.php on line 575 Deprecated: Assigning the return value of new by reference is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/parser/xhtml.php on line 939 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