Now we will look at an explanation of the previous commands:
- We used the file command to get the information about the binary. We also got the architecture information by running the file command.
- The string command will return the string within that binary file.
- By running the od command, you will get the hexdump of the file.
- There are symbols present in the binary. You can list those symbols by running the nm command.
- By running the ldd command, you can check which shared library your binary is linked with.