0
votes
2answers
60 views

How to redirect all manuals to files?

Just for fun, or say for sake of convenience, I decided to write out all man pages to files. Now if I have to do it one by one, I would do man package-name > filename. But I want to do some ...
3
votes
2answers
101 views

Bash built-ins with no manual entries

Why do some bash built-ins (such as dirs, pushd or help) don't have manual entries?
2
votes
1answer
71 views

Bash, what is command, utility, builtin, how do I distinguish

I'm running Bash scripting, but sometimes I get confused which of these commands I use belong to who. Sometimes 'Man xxx' works, sometimes doesn't, so I use '--help' or 'info', mostly one of these ...
2
votes
3answers
1k views

How to find out where $MANPATH is set?

How can I find out in which configuration file the environment variable $MANPATH is set? Is there a way to backtrace the values? I am aware of that I can grep through the whole file system using find ...
2
votes
5answers
678 views

How to grep whole manual?

I can do for example man cp | grep verbose to findout if cp man has word "verbose", how can I do something like (pseudo-code) man * | grep copy to find out what command to use for coping?