[ad_1]
Version 5.0.0 has been presented man-pagesthe project that serves to document functions and commands in Linux. In today’s age of social media, blogs and podcasts, where almost anything can be found on the internet, these reference texts may not be as popular, but they have a certain beauty when done well.
And taking advantage of the fact that the new edition has been released, we are going to review some basic notions of its use. Because it’s always good to know fucking manual (RTFM my friend).
just writing man followed by name of the packagefor example:
man nmap
We have access to the synopsis of the program, its description, the different execution options, the name of the author, bugs or related programs, among other things.
For go out We press the “q” key.
But if, on the contrary, we want look for something specific within that manual page, we do it with the bar, followed by the term in question (“ping”, in this case):
/ping
If we press the “n” key we advance to the next coincidence and if we combine shift+n we go back.
Tired of the terminal? To see the results of the manual in the browser we can execute:
man -Hfirefox nmap
Maybe we prefer to have it in the form of document PDF:
man -t nmap | ps2pdf - filename.pdf
To make the program sensitive to upper and lower case we can run it with:
man -I nmap
Then there are more curious uses, so to speak, so if we want to understand the file system hierarchy on Linux, it’s at your fingertips with:
man hier
As well as its different guys:
man filesystems
Also the system of units:
man units
And if we want one more general overview of the system From the penguin we can pull:
man intro
Apart from the manual pages, there are other options such as info, whatis, apropos or tldr for those looking for something different or more concise.
[ad_2]
Source link