How to do things
AI Noob vs. Pro

List biggest files
List newest files
Show subdir sizes
Search in files
Replace word in files
List dir differences
Send files in LAN

Free Open Source:

Swiss File Knife

a command line
multi function tool.

remove tabs
list dir sizes
find text
filter lines
find in path
collect text
instant ftp or
http server
file transfer
send text
patch text
patch binary
run own cmd
convert crlf
dup file find
md5 lists
fromto clip
hexdump
split files
list latest
compare dirs
save typing
trace http
echo colors
head & tail
dep. listing
find classes
speed shell
zip search
zip dir list

Depeche View
Source Research
First Steps

windows GUI
automation

command line
file encryption

free external tools,
zero install effort,
usb stick compliant:

zip and unzip
diff and merge
reformat xml
reformat source

cpp sources

log tracing
mem tracing
hexdump
using printf

articles

embedded
stat. c array
stat. java array
var. c array
var. java array
view all text
as you type
surf over text
find by click
quick copy
multi view
find nearby
fullscreen
bookmarks
find by path
expressions
location jump
skip accents
clip match
filter lines
edit text
highlight
load filter
hotkey list
receive text
send in C++
send in Java
smooth scroll
touch scroll
fly wxWidgets
fly over Qt
search Java

Print all kinds of representations of a given number as hexadecimal, decimal, big endian, little endian, binary, ASCII and 4-byte IP format with sfk number on the command line for Windows, Mac OS X and Linux.
  • Download the free Swiss File Knife Base from Sourceforge.
  • Open the Windows CMD command line, Mac OS X Terminal or Linux shell.
  • OS X : type mv sfk-mac-64.exe sfk and chmod +x sfk then ./sfk
  • Linux: type mv sfk-linux-64.exe sfk and chmod +x sfk then ./sfk. OS X and Linux syntax may differ, check the help within the tool.
sfk num[bers] [options] n1 [0xn2 0bn3 ...]

print associated numbers in all kinds of formats,
like decimal, hexadecimal, binary and ASCII chars
and in little endian format.

accepted parameter formats
    1234           a decimal number
    0x1234         a hexadecimal number
    0b1101         a binary number
    192.168.1.10   four decimal numbers
                   joined as one 32 bit value
    0b1101.0110    two binary numbers
                   joined as one value
    fe237801       hex number (auto detected)
    0tfe23         4 ASCII chars "fe23"

options
   -hex      all given numbers are hexadecimal
   -nocol    print without colors
   -single   don't show little endian format
   -show x   print just a single format of:
             dec   hex   ip   bin
             decle hexle iple binle
   -small    convert little endian for numbers
             below 65536 as 16 bits. default is
             to convert all as 32 bits.
   -noneg    do not show negative numbers.

see also
   sfk hex   convert decimal to hex
   sfk dec   convert hexadecimal to decimal

web reference
   http://stahlworks.com/sfk-number

examples
   sfk num 0x48454C4F
      prints all representations of hex value 0x48454C4F
   sfk num -2
      prints all forms of 32-bit signed value -2
   sfk num -show hexle 317705643
      prints ABCDEF12, the little endian hex value
 

example output for: sfk num 1048576
0x00100000 1048576 000.016.000.000 00000000000100000000000000000000 .... 0x00001000 4096 000.000.016.000 00000000000000000001000000000000 ....
example output for: sfk num 192.168.1.100
0xC0A80164 3232235876 192.168.001.100 11000000101010000000000101100100 ...d 0x6401A8C0 1677830336 100.001.168.192 01100100000000011010100011000000 d...
example output for "sfk num WORD" or "sfk num 0x574F5244"
0x574F5244 1464816196 087.079.082.068 01010111010011110101001001000100 WORD 0x44524F57 1146244951 068.082.079.087 01000100010100100100111101010111 DROW
sfk num[bers] [options] n1 [0xn2 0bn3 ...]

print associated numbers in all kinds of 
formats, like decimal, hexadecimal, binary
and ASCII chars and in little endian format.

accepted parameter formats
    1234           a decimal number
    0x1234         a hexadecimal number
    0b1101         a binary number
    192.168.1.10   four decimal numbers
                   joined as one 32 bit 
                   value
    0b1101.0110    two binary numbers
                   joined as one value
    fe237801       hex number (auto 
                   detected)
    0tfe23         4 ASCII chars "fe23"

options
   -hex      all given numbers are 
             hexadecimal
   -nocol    print without colors
   -single   don't show little endian format
   -show x   print just a single format of:
             dec   hex   ip   bin
             decle hexle iple binle
   -small    convert little endian for 
             numbers below 65536 as 16 bits.
             default is to convert all as
             32 bits.
   -noneg    do not show negative numbers.

see also
   sfk hex   convert decimal to hex
   sfk dec   convert hexadecimal to 
             decimal

web reference
   http://stahlworks.com/sfk-number

examples
   sfk num 0x48454C4F
      prints all representations of hex 
      value 0x48454C4F
   sfk num -2
      prints all forms of 32-bit signed 
      value -2
   sfk num -show hexle 317705643
      prints ABCDEF12, the little endian 
      hex value
 

example output for: sfk num 1048576
0x00100000 1048576 000.016.000.000 0000 0000000100000000000000000000 .... 0x00001000 4096 000.000.016.000 0000 0000000000000001000000000000 ....
example output for: sfk num 192.168.1.100
0xC0A80164 3232235876 192.168.001.100 1100 0000101010000000000101100100 ...d 0x6401A8C0 1677830336 100.001.168.192 0110 0100000000011010100011000000 d...
example output for "sfk num WORD" or "sfk num 0x574F5244"
0x574F5244 1464816196 087.079.082.068 0101 0111010011110101001001000100 WORD 0x44524F57 1146244951 068.082.079.087 0100 0100010100100100111101010111
DROW

you are viewing this page in mobile portrait mode with a limited layout. turn your device right, use a desktop browser or buy the sfk e-book for improved reading.

 
sfk is a free open-source tool, running instantly without installation efforts. no DLL's, no registry changes - just get sfk.exe from the zip package and use it (binaries for windows, linux and mac are included).

 

the Daily Landscape image
the Daily Mobile Background