Linux Toolbox

The purpose of this chapter is to introduce the reader to a set of tools (utility programs as well as other methods) for analyzing the contents of the Linux binary files.

Quick Insight Tools

The easiest and the most immediate insight into the nature of a binary file can be obtained by using the file and/or size utility programs.

file Utility Program

The command-line utility named simply file ( is used to find out details about just about any file type. It can quickly come in handy because it determines the most basic info about the binary file (Figure 12-1).

Figure 12-1. Using the file ...

Get Advanced C and C++ Compiling now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.