Questions tagged [man]

man - format and display the on-line manual pages ("on-line" meaning “on the computer”, as opposed to “on paper”, not “on the Internet”)

Filter by
Sorted by
Tagged with
1
vote
1answer
40 views

Why does postfix use manual section 1 and not 8?

I am trying to better understand the Linux's online manual. I thought I understood it, but then came across this. Why is postfix under User Commands (1) and not System Administration tools and ...
35
votes
2answers
3k views

Which man page describes the process of a computer turning on?

A few years ago I recall using the terminal and reading a tutorial in the Linux manual (using man) on how a computer worked after it was turned on. It walked you through the whole process explaining ...
0
votes
2answers
267 views

Learning from Unix Programming Environment

I've got the Unix Programming Environment book by Kernighan & Pike, copyright 1984. The book says that you need the Unix programmer's manual while reading the book. The preface of the Unix ...
1
vote
4answers
1k views

Man -f what does the (1) stand for? [duplicate]

I'm looking at the -f flag on man which is described as: -f, --whatis Equivalent to whatis. Display a short description from the manual page, if available. See whatis(1) for details. ...
1
vote
1answer
129 views

Searching question marks in man

I did man maldet trying to get information about (what I can call) maldet wildcards which are represented by question marks. I clicked / and searched \? and also for "\?", but nothing was found even ...
-2
votes
1answer
953 views

Read standard library header file in terminal [closed]

is there any way to read a standard header file, say float.h , in terminal ? Sometimes it would be nice to know what are the names of some values, say max value of float or something like that.
1
vote
1answer
94 views

man -t converts - to −

man -t ls converts - to −. Is there a way I can tell man -t to not do that? I prefer having -, as the - is often part of examples where − would be wrong (e.g. options).
7
votes
1answer
244 views

Access ImageMagick's man page

On my system I have ImageMagick and its documentation installed: $ apt-cache pkgnames imagemagick imagemagick imagemagick-6.q16 imagemagick-dbg imagemagick-doc imagemagick-common I can access ...
-3
votes
2answers
50 views

how to look for help on a command output

If I search for man pages for a command I only see the information on the parameters that I can pass to the command. How do I find details on the command output? for example what each column of the ...
-2
votes
1answer
48 views

meaning of some commands ? , the hackers play book 2 [closed]

i don't understand what's the meaning of the -a in dpkg --configure -a and what's the meaning of the -y is apt -y install ? , i always find-letters that i never understand what's there meaning , can ...
0
votes
2answers
472 views

No man for tail command

I am using centos 7, but it's weird that I can not get the man page for command tail. Do I miss anything ? Thanks [zeppelin@sandbox zeppelin-zjffdu]$ man tail No manual entry for tail
0
votes
1answer
471 views

What does the number mean in 'ls(1)', 'stat(3)' and 'apt(8)'? [duplicate]

While browsing through the web and local documents, I often see expressions like this: See apt(8) for more information about the available commands. My question is, what does the number here stand ...
6
votes
3answers
2k views

How to append to MANPATH?

If the MANPATH environment variable is set, man very "helpfully" ignores the default search path, as defined in /etc/manpath.config. Is there any way add a path or paths to that searched by man?
1
vote
1answer
110 views

How do I get the man page for “apt upgrade”?

Getting the man page for apt is simple: man apt The problem is, apt has several "sub commands" (such as update, install, remove), all with their own arguments and settings. These arguments and ...
0
votes
1answer
130 views

Where is the file man?

I have a question about the location of the file man, because some people told me it is in /usr/share/man, while other people told me: it's in usr/share/doc. Where is it?
0
votes
1answer
413 views

Why can't I find the -f option for shutdown command in man?

I read on some linux blogs that to reboot without going through fsck you can use the following command: shutdown -rf now I read that the -f flag means "reboot fast". However, I cannot find any ...
-1
votes
1answer
677 views

Why No manual entry for shopt? [duplicate]

man-db is already the newest version. shopt can run,but no man shopt info.
3
votes
3answers
1k views

Install the latest POSIX man pages?

CentOS 6 (and probably most Linux distros) includes a man page section 1p for POSIX specifications. man 1p sh, man 1p sed, et. al. are all very useful to be able to refer to for portable shell ...
5
votes
2answers
2k views

Reinstall man pages & fix man

So in a recent fit of folly, I followed the instructions in this answer on the Ubuntu SE page since I wanted to remove most of the documentation. However, I didn't read the commands well enough and ...
0
votes
1answer
935 views

How to use terminfo to set colors for man and less?

I saw this question where the answerer uses termcap to define colors for less which then could be used for how man could be displayed. It said while termcap is obsolete, it's easier while terminfo is ...
4
votes
2answers
384 views

How to view differences between the man pages for different versions of the same program?

Whenever I am upgrading one of my Linux boxes (i.e. installing the next version of my favorite distribution), upgrading the respective configuration files always has been very time consuming, because ...
13
votes
3answers
820 views

Is there a way to find installed binary packages which don't have manpages?

I recently saw https://lintian.debian.org/tags/binary-without-manpage.html and it shows around 14k manpages which are missing. This means it's more than likely that some of the binary packages (not ...
3
votes
1answer
473 views

Linux command line tool to find specific programs

Can you please indicate me how do you find programs in the terminal without knowing the exact name? As far as I remember, there was a command line tool that helps the user to find out other programs /...
4
votes
2answers
2k views

Why does 'manpath' work and 'echo $MANPATH' does not?

I was just wondering why echo $MANPATH does not work (on my system (Debian Jessie x86_64 GNU/Linux 3.16.0-4-amd64)). The manpath command alone works well: user@host:~$ manpath /usr/local/man:/usr/...
1
vote
2answers
98 views

how do I configure trn4 for multiple news servers?

I'm running Leafnode as an easy-to-use NNTP server and am considering switching from pan as news reader to trn4. To configure trn4 I set it to, effectively, localhost. Specifically, the FQDN which ...
4
votes
4answers
629 views

On Line Man Pages from Terminal

With the risk of raising a question that might already have an answer, i would like to ask if anybody knows if and how is it possible to read man pages in my terminal for programs/apps that are not ...
0
votes
1answer
66 views

Man pages are shuffled

man has no section 2. /usr/share/man/man2 is empty. fork(2) is actually fork(3) and there is no printf(3), printf(2), execve(2), or execve(3). How do I fix my man pages? I'm on Ubuntu 16.04 and man-...
0
votes
1answer
27 views

How to display a remote Linux manual (through ftp/http/https)?

There are manuals available online (e.g linux.die.com or man.he.net). How can I read a manual from terminal that is on a remote ftp/http/https page? (like e.g man <cmd_name>) How can I search ...
4
votes
1answer
173 views

How to use 'tar -c' without any optional arguments?

In the synopsis section of the manual page for tar, it reads tar -c [-f ARCHIVE] [OPTIONS] [FILE...]. Knowing arguments in the brackets [] are optional, it seems we must be able to use tar -c without ...
8
votes
2answers
4k views

grep the man page of a command for hyphenated options

When I grep the man page of the find command for matches to type it returns a lot of search results that I don't want. Instead I want to use a command that returns only the search results for -type. ...
4
votes
3answers
700 views

Is it possible to hit Shift-k and open a manual for a command in Bash?

In Vim you can hit Shift-k and open a manual for a string under the cursor. Is it possible to configure Bash this way as well (when using set -o vi)? For example: # '|' represents the position of a ...
3
votes
1answer
1k views

man -k returns no results [duplicate]

I was following a tutorial and thought why not...let me brush up on the man command...and low and behold I learned a few things after years working with different flavours of Unix. On my RHEL7 ...
3
votes
1answer
189 views

Howto show tables in Man pages converted to html?

I use my browser for opening man pages, converted on the fly to HTML pages. This works quite well, except tables aren't shown. Instead I see an Alt-text like <p align="center"><font color="#...
0
votes
2answers
110 views

Why does no command advise the user to consult a man page on incorrect usage? [closed]

I recently gave a workshop on Linux tools and have been telling students to consult the man pages of commands should they run into errors. However, I noticed that the command itself never returns a ...
-3
votes
1answer
277 views

How to check if my manual is POSIX compliant? [closed]

How to check if my man pages are up to date with POSIX? Example: if I will type "man 3p xyz", I want to be sure, that if xyz exists in POSIX, I will get up-to-date information about this function ...
4
votes
1answer
239 views

FreeBSD: man exits at EOF

When using man to view manpages on FreeBSD 10.3-RELEASE-p11 I get back to the command promt after scrolling to EOF. What I want: man should not quit when I reach the end of the manpage as I may want ...
1
vote
2answers
275 views

less pattern - endswith [ ] or $

Refer to can-i-get-individual-man-pages-for-the-bash-builtin-commands: bashman () { man bash | less -p "^ $1 "; } This function will jump to the desired bash manual parameter section directly. ...
3
votes
1answer
105 views

How do you search through flags in the manpages?

Whenever I search the manpages, I'm almost always trying to find out what's going on with a specific flag. For example, when searching the man pages for pandoc I was searching the for -f flag. I'm not ...
0
votes
4answers
303 views

Getting started with “man”: a few questions [duplicate]

I'm having problems with man: How can I display sections of a man-page? How can I figure out what sections a man page offers? According to man man -S is the parameter I need to get a list of "...
2
votes
1answer
38 views

How to automatically sort the option flags in a manual?

I am about to create a script to edit the manual in order to have alphabetical order of the option flag in the OPTIONS section. Is there a more direct and elegant way of doing it?
0
votes
2answers
62 views

How can I add a dot after a bold word in a manual?

What is the proper syntax for adding a dot that is not bold after a word in bold? I need to write the following sentense without the dot in bold word_in_bold. Other sentence But .B word_in_bold ...
1
vote
3answers
281 views

How can 'man' render double quotes not as doubled backtick and prime characters?

When I do a command such as: man bash I see quotes shown as: ``...'' There have been posts about why this happens: Man page quotation characters Why some strings are quoted with double backticks ...
1
vote
1answer
67 views

Where can I extract or copy man executable

As our web hosting technician recovered our Linux/Debian squeeze system, I've lost man exetubable. The symptom is: # ls -l /usr/bin/man lrwxrwxrwx 1 root root 17 Oct 11 2011 /usr/bin/man -> ../...
3
votes
1answer
535 views

Is there man command for bundle?

There is a command bundle in ruby. I want use man command or similar function for bundle. Does it exist? If there is it, I want to know how to look for separated command like bundle gem. I can see ...
16
votes
4answers
3k views

How do I directly display a man page?

I'm writing a man page for a program that I am packaging. How can I display the manpage file that I created, to check if it's all right? Is there a way to pass my file directly to the man command ...
-1
votes
1answer
502 views

What does sort -b do?

I have some text files where I wanted to filter some things just to practice some Linux commands. I tried to use sort. The problem is that I don't see a difference with sort -b. I tried the ...
6
votes
1answer
1k views

How to read complete “grep” manual?

I wanted to read about the --include feature by doing man grep. But that section is not found. I found the information on a webpage instead GNU Grep Is there any other command to see the grep ...
1
vote
2answers
93 views

Fast local full text search against all manpages

man -K does the job but it's painfully slow to the point that googling is much faster, if Internet connection is available. Is there a way to have the manpages indexed so that I can do full-text ...
54
votes
4answers
5k views

Why don't man pages have examples?

Is there a reason why most man pages don't include a few common examples? They usually explain all the possible options, but that makes it even harder for a beginner to understand how it's "usually" ...
2
votes
1answer
176 views

What to think of a missing man?

I'm trying to get info on mktemp. MKTEMP(1) contains these two lines: SEE ALSO mkstemp(3), mkdtemp(3), mktemp(3) Ok, let's see. tomasz@E4200:~$ man 3 mkstemp No manual entry for mkstemp in ...

1 2 3 4 5 10