Contents

Learn Linux Through Man Pages

  

 

How cool would it be to learn Linux through the man pages To make it even more fun, I made this script with various options and with a cool retro terminal.

I recommend watching the video so you can see the install the various options, how you can adjust this script to your own needs, and some other cool things.


Old Fashioned Linux

Somehow the man pages always remind me a bit of the past, to old school. I’ve also been told by “Linux people” that they learned Linux just by reading the manual pages. How cool is that.!

This is nonsense, of course, or am I wrong here that the man pages have to do with the past. I wanted to find out and I looked it up.

In the first two years of the history of Unix, no documentation existed. The first Unix Programmer’s Manual was first published on November 3, 1971.

So actually the man pages have been around for so long, even before people started using the Internet, the world wide web (www) and even before Microsoft existed.

A fun fact…

There was a hidden easter egg in the man-db version of the man command that would cause the command to return “gimme gimme gimme” when run at 00:30 (a reference to the ABBA song Gimme! Gimme! Gimme! (A Man After Midnight). It was introduced in 2011 but first restricted and then removed in 2017 after finally being found.


What are man pages in Linux

Almost all packages, commands, tools, hardware devices, system calls, and so on, come with a man page (manual page). The man pages are a type of documentation that provides details on using the various commands and applications.


Find the Longest manpages on your pc

You can just copy this code and put it in your terminal. It will show you a list of the longest man pages

Code:

1
for i in {1..9}; do f=/usr/share/man/man$i/$(ls -1S /usr/share/man/man$i/ | head -n1); printf "%s: %9d\n" "$f" $(man "$f" 2>/dev/null | wc -l); done


Man Eye

To be able to use Man Eye, some other “awesome” tools have to be installed. This depends a bit on which Linux distribution you use. This script has been tested on Debian-based and Arch Linux

1
sudo apt install suckless-tools
1
sudo apt install cool-retro-term
1
sudo apt install zathura
1
sudo apt install groff
1
sudo apt install fzf

Or install the tools in one line:

1
sudo apt install suckless-tools zathura groff cool-retro-term fzf

To start, I use dmenu in this script. dmenu is a dynamic dmenu is part of suckless tools, of which I would show much more in the future.

Furthermore, I chose to use cool retro term. This because, as you can read above, it reminds me a bit of the past. Cool-retro-term is a Retro Terminal that you can completely customize the way you like it. Really cool. Especially because now you know the past of the man pages

Zathura is a minimalist and is a highly customizable document viewer with vi-styled keybindings. It provides a minimalistic and space-saving interface. Users interact with zathura primarily with the keyboard. Different file formats are supported through plugins. Support is available for PDF, PS, DjVu, and comic book files. So cool!


Here you can find the Man Eye GitHub tool


Install Man Eye

1
git clone https://github.com/BullsEye0/man-eye.git
1
cd man-eye

Use Man Eye

1
bash man-eye.sh

There are 5 options you can use

  • Random-Man-Page As the name predicts, this option chooses a random manual page. Maybe a great idea to select and learn a random Man Eye page every day :smily:

  • Search-Man-Pages This option allows you to search for a manual page via the dmenu

  • Man-On-Steroids How cool is this option! In the square in your terminal you can already read a bit about what it is about.

  • Man-PDF The output of the man page in a PDF format. Here I chose Zathura. Zathura is a minimalist and is a highly customizable document viewer. It is easy to print in PDF format.

  • And of course as the last the “Quit”

To exit all windows, just press the “q” to quit.


man man- display of the manual pages themselves

man -a intro - intro - is an introduction to the user commands


Here you can find the Man Eye script

video


 


Become a member on Odysee.com
Earning on Odysee for watching videos ♥️
Here an invitation link, so that we both benefit.
In this way, you also support my work.

https://odysee.com/$/invite/@hackingpassion:9


 

WANT TO SUPPORT THE WEBSITE

Dear people, I do a lot of things on the Internet and I do it all for free. If I don’t get enough to support myself, it becomes very difficult to maintain my web presence, which takes a lot of time, and the server costs also have to be paid. Your support is greatly appreciated.

Thanks guys ..!

https://paypal.me/hackingpassion

Use the link above to donate via PayPal.


 

IMPORTANT THINGS TO REMEMBER

✓ This Video and Article is made for educational purposes and pentest only.

✓ You will not misuse the information to gain unauthorized access.

✓ This information shall only be used to expand knowledge and not for causing malicious or damaging attacks…!


Read also the Disclaimer

All the techniques provided in the tutorials on HackingPassion.com, are meant for educational purposes only.

If you are using any of those techniques for illegal purposes, HackingPassion.com can’t be held responsible for possible lawful consequences.

My goal is to educate people and increase awareness by exposing methods used by real black-hat hackers and show how to secure systems from these hackers.


 

Finally

If you have any questions about this article, any feedback, suggestions if you want to share your thoughts, contact me. Please feel free to do so.


 

 

By Bulls Eye

Jolanda de koff • emaildonate

My name is Jolanda de Koff and on the internet, I'm also known as Bulls Eye. Ethical Hacker, Penetration tester, Researcher, Programmer, Self Learner, and forever n00b. Not necessarily in that order. Like to make my own hacking tools and I sometimes share them with you. "You can create art & beauty with a computer and Hacking is not a hobby but a way of life ...

I ♥ open-source and Linux