fileDump utility has ability to dump contents of any file into many formats like hexadecimal, octal, ASCII and decimal.
$ cd fileDump
$ make
$./fileDump [file] [-format]
Formats :
- x : hexadecimal format , it is the default if not format passed
- o:octal format
- c:ASCII format
- C:hexadecimal and aSCII format
- d:decimal format
e.g to dump contents of file in ASCII
$./fileDump /home/user/file.xyz -c
I would also gladly welcome your questions and contributions. you are welcome to contact me at
Mail : [email protected] LinkedIn Hakerrank
Have fun! Mohamed Hussein.