CEH Certified Ethical Hacker by Matt Walker

CEH Certified Ethical Hacker by Matt Walker

Author:Matt Walker
Language: ita
Format: epub
ISBN: 9780071772280
Publisher: McGraw-Hill


Figure 6-7 Linux distributions

EXAM TIP You won’t see a lot of questions on the exam regarding installation of Linux apps or kernel modules. You won’t be asked specifics on how to compile code, but you will need to know the basic commands and the compiler name (GCC).

Lastly, if you happen to download an application in its raw form—maybe a C++ write-up or something like it—you’ll need to compile it to a recognizable form for the OS. Linux comes with a built-in compiler called GNU Compiler Collection (GCC). GCC can compile and execute from several languages, such as C, C++, and Fortran. For example, if you had a C++ source file (sample.cpp) and wanted to compile it in Linux, the command might look something like this:

g++ sample.cpp newapp.exe

A source file in C could be compiled the same way—just change the initial command:

gcc sample.c newapp.exe

One final note on install necessities for your exam deals not with installing the OS, but with adding functionality. Linux kernel modules were invented early on to provide some modularity to the operating system. The thought was, “Why force the entire OS to be rewritten and reinstalled when we can simply add modules at the kernel level?” Admittedly, the idea was great and made the evolution and improvement of Linux skyrocket; however, it isn’t without its problems.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.