Okay guys and gals, this will be a quick tutorial on using the incredibly helpful man pages.
Man pages are manuals for tools and functions which are provided for the *nix operating systems. These pages detail the syntax, usage and options for the queried function or tool and can be used by anyone in any situation, not just necessarily for C.
To obtain a man page for a certain function or tool, you can type the following command:
- man [function or tool name here]
Here are two examples on the scanf function (found in stdio.h) and the wc tool we have used before.
Now that you know how to pull up man pages for functions, you will need to rely on this skill whenever I use a function that you have never seen before. This means that I will no longer explain what a function does if we have never encountered it. If you still don't know what the function does, try Googling it for an explanation or an example. After unsuccessfully attempting to find out what it does, only then should you ask someone or leave a comment down below.
Want to start making money as a white hat hacker? Jump-start your hacking career with our 2020 Premium Ethical Hacking Certification Training Bundle from the new Null Byte Shop and get over 60 hours of training from cybersecurity professionals.
Other worthwhile deals to check out: