Questions tagged [man]
'man' is a command for accessing documentation on Linux and other Unix and Unix-like systems.
109
questions
63
votes
3
answers
47k
views
Where are man pages stored in Ubuntu?
I hope my question isn't too trivial, but I've never actually needed to know this before.
In which directory can I find the files of the man pages, i.e. the read-only text file opened when you type ...
44
votes
2
answers
44k
views
How do I search for a word or a phrase in the Linux 'man' command and cycle through the found solutions?
When looking for a certain word or phrase in the man page of Linux command, one can type '/' followed by the word or phrase to search for it.
What I'd like to be able to do is to search for the next ...
44
votes
2
answers
1k
views
Sometimes you are feeling down, you want to 'man up' -- how can I add this manual entry in unix?
Cris-Mac-Book-2:src cris$ man up
No manual entry for up
How can I remedy this situation?
I want to add an 'invented' manual entry for a non-existant command up so I can type man up when required. ...
29
votes
8
answers
5k
views
How to jump to a particular flag in a Unix manpage?
When reading a Unix manpage in the terminal, how can I jump easily to the description of a particular flag?
For instance, I need to know the meaning of the -o flag for mount. I run man mount and want ...
23
votes
8
answers
17k
views
Man pages for Git Bash on Windows 7
I am using Git bash on Windows 7. It provides me with a way to use most of the commands that I used to use on the bash shell on my Ubuntu machine. But the man and the info commands do not work. Is ...
22
votes
4
answers
5k
views
Searching for a specific option in a man page
I often find myself man'ing a command just to learn about one specific option. Most of the time I can search to the option just fine, unless it's something like ffmpeg or gcc where I have to step ...
20
votes
4
answers
3k
views
What are the license(s) of the Linux man pages?
What is the license on the Linux man pages? GPL, Public Domain, etc? The Wikipedia page about the man doesn't appear to have any info about the licensing status of the man pages.
15
votes
2
answers
12k
views
What does "sw" option mean in /etc/fstab?
In my Ubuntu 14.04 /etc/fstab, I have following line:
UUID=e4YGg1-2bHU-Ylum-3FwK-MK3s-1Fjf-ZvQEh2 none swap sw 0 0
Which seems pretty current for swap.
I can't ...
15
votes
4
answers
4k
views
bash: colorized man page
Where do I have to take a look at in the system to colorize the man pages?
The man pages are viewed with less, so I tried adding the following lines to my .bashrc to change the colors: (Which works ...
12
votes
5
answers
19k
views
How do you switch between Linux manual pages?
I'm new with Linux and have noticed that there are numbers beside certain commands I look up.
For example I want to look up accept() in the aspect of network programming, but man accept shows this ...
12
votes
2
answers
20k
views
Where's the man page for the `sizeof` C function?
How come there's no man page for the sizeof C function?
$ man 3 sizeof
No manual entry for sizeof in section 3
$ man sizeof
No manual entry for sizeof
I do see man pages for other C functions like ...
11
votes
2
answers
560
views
What does `LESS=+/EXAMPLE\:` mean?
In man parallel_tutorial (for GNU parallel) I’ve found the following black magic:
LESS=+/EXAMPLE\: man parallel
Searching around in the man pages for man, less, and bash, it appears this may have ...
11
votes
2
answers
14k
views
How do I execute a Linux command whilst using the less command or within the man pages?
I generally pipe the command ls with less and would like to execute a command while it is paging e.g. I come across a file that I would like to delete so I would like to execute the command rm {...
7
votes
3
answers
2k
views
show man pages in terminal without a pager
man defaults to using a pager. For short pages, I want to just echo them to the terminal without paging. I'm on OS X. Things I've tried:
man -t man #produces PostScript output
man ...
7
votes
3
answers
828
views
how to make man page not disappear on exit
...probably a silly question but I could not beat google into telling me the answer so posting here:
I got 2 machines - Slackware 13 and Fedora 11.
On the slack machine, when I use man I can scroll ...