Open BIN file

Jan 2, 2018 at 1:27pm
I have a program that generates an output as a BIN file. I'm using cygwin to compile and run the c++ program using MAKE. Now, once the program is done running I want to open the BIN file so that I can see what the data looks like as the output. How to open this BIN file? Thanks for your answers.
Jan 2, 2018 at 1:40pm
Is BIN a file format?
Jan 2, 2018 at 1:47pm
yes
Jan 2, 2018 at 1:52pm
Well, in that case you will have to use a tool that can display this file format. If you cannot find such a tool you might have to look at the file format specification and either write your own tool or use a hex editor to try and extract the data manually.
Last edited on Jan 2, 2018 at 1:53pm
Jan 2, 2018 at 2:00pm
I see. Thanks for the answer though.
Jan 6, 2018 at 12:18pm
You can view binary files in vi using %!xxd.
Jan 6, 2018 at 6:01pm
Try bvi.
Jan 17, 2018 at 4:07pm
Use the simply ./"your bin format"
Feb 23, 2018 at 7:30am
Try using command in terminal hexdump -C yourfile.bin
Topic archived. No new replies allowed.