G
Govand Sinjari
Guest
Hi,
Not sure if there is command line can output a specific number of bytes from a file in specific format?
I have written a tiny program in C for that, for example if you run ./bo 10 x file , it will output first 10 bytes of the file in Hex. The program can use any format specifier of printf like x, c, d, o, s, f, etc.
If there is no such command, I want to submitted to public domain, will it be possible to add it to linux commands? how?
I have compiled the command for Mac and Kali, it is attached
Not sure if there is command line can output a specific number of bytes from a file in specific format?
I have written a tiny program in C for that, for example if you run ./bo 10 x file , it will output first 10 bytes of the file in Hex. The program can use any format specifier of printf like x, c, d, o, s, f, etc.
If there is no such command, I want to submitted to public domain, will it be possible to add it to linux commands? how?
I have compiled the command for Mac and Kali, it is attached