How to open .o file?

Viewed 42315

After compiling a C program, you get a .o file. I know it's a file consisting of '0's and '1's and if formed after successful compilation of a program. But I want to see what is in the file!

2 Answers

You can use hexdump command from the terminal to display the content.

Syntax : $ hexdump <filename>.o

It will show you the content in hexadecimal form.

Related