Skip to content

[Newbie Advice] Been using Arch for over half a year. Just found out about man pages.

Why would you vets keep this a secret from me? Just kidding.

Seriously, any newbies out there that aren't satisfied with

[program-alias] --help

consider using

man [program-alias]

It's waaaaay more helpful.

I've been hitting up wikis and forums for more in-depth info this whole time. I've probably been spending a little too much time in /r/okbuddyretard.

22 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
22 · 100% up
Kind
Text
ID
fuieu8

Author

4
posts
71
comments
1
media
View profile

19 comments

Let me also hit you with https://github.com/tldr-pages/tldr

13 points

Oh boy

5 points

There is also cheat.sh/, which is a site meant intended to be used from the command line with something like with curl. For example,

curl cheat.sh/ls

...will give you a very much abbreviated documentation of ls with the most common usage. It is obviously very scriptable as a bash function, alias, etc.

4 points

Checkout arch man pages too. It's in the AUR. you open the command line but awman (topic) and you're set!

3 points

The trouble with man pages is many of them are tl;dr. It's a little bit better now, but the man 5 sudoers page used to get started with a discussion of Extended Backus-Naur Form (EBNF), the same meta-language which was originally used to describe the grammar of the original FORTRAN language (FORTRAN was invented by Backus and Naur in the 1950s). It still has this, but it's not at the very top like it used to be.

Most of the time reading through man pages won't get you anywhere, unless you already know what you're looking for. They're really good for going into what specific arguments do, or when to use them. But then again, they differ wildly on how useful they are in practice.

I know some certification exams only allow you to use man pages for reference during the exam, which means you need to know your shit before starting. Most of the time man pages don't really show you how to do anything, you already have to have an idea of how to use a given command (or configuration file, for programs and services which have a separate man page for their configuration files).

12 points
unknown author

Deleted before we saved it.

1 points

This is a very characteristic and interesting thing about Linux world. Since there are so many possibilities and you learn mostly doing research on the internet and on the docs, you can perfectly have been using something for a long time and suddenly find out something basic and really useful like man pages.

This keeps me always interested in Linux world, and I love it.

4 points

GNU info is also a fine tool for when there are pages for it on your program. Unlike man, info splits the info up into various multiple pages that can be navigated to and from, which might be more preferred.

Infact, if you were to just type help [program-alias], unless that program is a Bash built-in, it would tell you that it doesn't have any help regarding this, suggesting man -k(which would list out all man pages with your program's name in their names) and info.

3 points

It's OK.

It took me a couple of months to learn that tab completion was a thing. I discovered it by accident.

We've all been there.

3 points

Are you serious?

1 points

Yeah. I’ve heard “ man pages” mentioned, but I assumed everyone was talking about their distro’s documentation.

2 points

I can’t believe I was even using arch without man pages

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.