News for hackers. Stuff that matters.
Re:Ask HN: Examples of reliable software you enjoy using by Sir_Cmpwn on Wednesday June 29, 2016 @12:45AM (#11999551)
When I just want a quick peek at a binary file on Linux I use `hexdump -C filename | less`.
Re:Ask HN: Examples of reliable software you enjoy using by lucb1e on Wednesday June 29, 2016 @07:06AM (#12000802)
Sure there are hex converters and editors for Linux, but Notepad++ is a text editor that handles binary as if it were just another text file. For example if you try in Vim to edit binary files beyond very simple edits, it'll usually corrupt them. And from `hd file.bin | less` you can't edit them.
Re:Ask HN: Examples of reliable software you enjoy using by majewsky on Wednesday June 29, 2016 @02:42AM (#11999914)
For hexdump, I could never remember which switch gives me the format that I want to see. I'm now using xxd, which comes with vim and has nice defaults.