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
0
votes
2answers
132 views

How to get help text on sub-commands?

I am looking for a way to bring help text on sub commands such as apt list. For example, if I write apt --help, I am getting: apt 1.2.26 (amd64) Usage: apt [options] command apt is a ...
2
votes
2answers
992 views

Turn off terminal bell in man pages and less

I'm wondering if there's a way to turn off the terminal bell for terminal applications such as man and less, e.g. when you're already at the top of the file/man page and press "k" to attempt to scroll ...
2
votes
2answers
254 views

Issue with “make distcheck” in GNU autotools project relating to generating a manual

I'm using autoconf and automake to build a tiny project. For the project's manual, I've used OpenBSD's native mdoc format, and the installable man-formatted manual is generated from this using the ...
3
votes
2answers
7k views

APT isn't installing man pages by default

I have installed a minimal Debian 9 through CD image. I configured Apt to not install recommended packages and now the system don't have any man page. man apt-get, man mkdir, or man ping doesn't show ...
2
votes
2answers
71 views

Man pages: When to put a new system call in section 2 and when in section 3?

For an exercise at the university, we are asked to extend Minix (v2) with a system call utctime that properly calculates the leap seconds (which Minix' implementation of time does not do). We've ...
0
votes
1answer
43 views

Where does bash's 'help' builtin source its documentation? [duplicate]

On MacOS, the default bash on the OS is 3.2. If I run help trap it says that if the signal_spec is DEBUG, that the command is run after each command, but the bash manpage says it is run before each ...
6
votes
1answer
362 views

Commands missing in man-pages (blank spaces in manuals)

When opening man-pages, the page is displayed but all commands are missing. Spots where refered commands should be are just blanked out. Running dpkg-reconfigure manpages and apt-get install --...
0
votes
1answer
920 views

What is the `-KILL` option in `pkill` command

I have found a way to logout any user by using the command line. By executing the command pkill -KILL -u <username>, I can now log myself out from the session I have entered. My question is ...
1
vote
1answer
99 views

Perl podusage generates man page with extra control-O's

I am using pod2usage in a Perl script to generate a man page. The code looks like this: use Pod::Usage; pod2usage(-verbose => 2) ; exit 0 ; ... some code ... __END__ ...
4
votes
2answers
2k views

How to indicate start of line in less search of man pages?

I frequently refer to man bash to recall use of "history expansion" parts(events/words/modifiers). I know that the man part I need is "HISTORY EXPANSION". So I type in HISTORY EXPANSION in forward ...
4
votes
1answer
693 views

How to install SELinux policy manpage?

How to install the manpage httpd_selinux on CentOS 7.4? It's not included in the packages httpd, httpd-tools, or httpd-manual. A yum whatprovides "*/httpd_selinux" search returned no results. (...
3
votes
3answers
105 views

How to access man pages as structured content

I'm building a resource that references man pages, and I'm wondering if anyone knows of a way to access man pages as structured data? My current approach is to do a lot if REGEXing, but this is ...
0
votes
1answer
757 views

AIX: lqueryvg documentation .. missing?

I want some info about lqueryvg. man lqueryvg Manual entry for lqueryvg not found or not installed. On the net I cannot found all options explained; some options are unknown. Does someone know the ...
1
vote
1answer
209 views

How to display cat (not man) pages?

I recently discovered that, in addition to man 👨 pages, some UNIX documentation is also available as cat 🐈 pages. (Cf. this question: What is the deal with mandb and stray cats?) From man catman: ...
0
votes
0answers
35 views

get help of specific command's option [duplicate]

Without using man and in a single command from --help, I'd like to know further information for certain options. I know that for every command, by default the option -h or --help will print a help ...
1
vote
1answer
48 views

How do I download documentation and make it accessible from the command line?

Recently installed nmap but I don't know how to use it. I found the documentation, but I'd rather not have to leave the command line every time I try to learn something new with it. I'm still working ...
4
votes
1answer
419 views

How to read man pages from a remote machine

Reading man man indicate that the -m switch or its counterpart the --systems long switch may be used to specify a remote host to get man pages from. The page also mentions the SYSTEM environment ...
2
votes
1answer
82 views

How to list the available languages for a man page?

I have just found out that it is possible to display man pages in different laguages using the -L option (e.g. man -L fr man shows a man page in French). However, when a language is not available, an ...
1
vote
1answer
136 views

Updated man page for ifconfig in GNU/Linux systems.

I've always had the compulsion of checking man page for system-specific usages, and the one for ifconfig on Ubuntu Kylin is just too confusing. What I'm trying to do is to add additional IPv4 ...
9
votes
4answers
683 views

Where are the commands available in the man page window documented, and are these commands system-dependent?

Having used Linux for years, I suddenly found that I don't know how to use the man command properly. It is well known that one can type q to quit a man page, / to search, and others. I don't know, ...
3
votes
2answers
11k views

What is the meaning of “curl -k -i -X” in Linux?

I have read the man pages of Curl, but I can't understand what those parameters (k, i and X) mean. I see it used in a REST API call, but can someone please explain what those three parameters do? It's ...
1
vote
1answer
195 views

exporting man pages to postscript

I found that I can save man page into ps format: man -t man > file.ps or to pdf: man -t man | ps2pdf - file.pdf Apart from the man page itself, the export includes man version, page numbers and ...
1643
votes
3answers
323k views

Why does man print “gimme gimme gimme” at 00:30?

We've noticed that some of our automatic tests fail when they run at 00:30 but work fine the rest of the day. They fail with the message "gimme gimme gimme" in stderr, which wasn't expected. Why are ...
0
votes
2answers
78 views

Find date of man pages without a date

Why do some man pages not have a date? Usually, there is a date at the end of a manual, next to the name of the package. For example, in the last line of man 1 cat, the date is displayed as February ...
1
vote
2answers
331 views

Explanation of stty parameters not found in man page

I have some old code that was written in java for interfacing with a serial port that I'm attempting to convert to python. The following lines are found in a bash file that is run to setup the serial ...
0
votes
1answer
513 views

How to use the man command to navigate to specific sections of the manual? [duplicate]

I would like to know if there are easier ways to navigate to specific sections of manual pages such as Examples or Options I currently resort to piping man to regex find and retrieve statements. For ...
3
votes
1answer
346 views

Open multiple man pages in less?

I've noticed that when running man command1 command2, the behavior is: first the man page for command1 is formatted and displayed in less, and then after that less instance exits (e.g. by pressing q), ...
2
votes
4answers
425 views

man ignoring alias

In Bash I have an alias (to run nvim when I type vim). But when I type man vim I get the man for vim, not nvim. Sort of makes sense, but of course what I really want is "the manual for what I get if I ...
2
votes
1answer
9k views

Explain please what is a magic file in unix [closed]

We can create magic files with file -C -m filename. Also there is the /usr/share/file/magic folder with a list of magic files on my OS X machine. But what is this? Would somebody explain, why ...
3
votes
1answer
701 views

What is the difference between the mdoc macro set for troff and the plain man macro set for making new manpages

I am trying to create man pages for a side project and I have never used troff before and I am trying to figure out what exactly is the difference between the man macro set and the mdoc macro sets and ...
3
votes
1answer
60 views

Is there any offline manuals for special characters used in terminal?

We can find help regarding most commands like echo ,cp, mv, wget using man . But can I find manuals for special characters used for operations like piping(| symbol)? If there's none, is there any ...
1
vote
2answers
507 views

Paginate man pages

Different systems render man pages differently. Some paginated the pages by default, some don't. How can I control the pagination behaviour? And how can I configure the page height (in lines) when ...
2
votes
1answer
95 views

In AsciiDoc, how to link a Unix manpage?

Does stock AsciiDoc provide macros to link a Unix manual page? I'm thinking of something like man:vim(1), equivalent to the command man 1 vim, similar to the standard URL and link: inline macros. If ...
0
votes
1answer
43 views

Interpreting `man` C library name

Certain C library files show multiple #include files at the top. For instance, man connect shows SYNOPSIS #include <sys/types.h> #include <sys/socket.h> However, in order to call ...
2
votes
2answers
1k views

Manpages broken on Ubuntu 16.04

I have the same problem as in this question but with Ubuntu. Reinstall man pages & fix man I tried everything but the problem persists. When I try and view a manpage I get an empty page. What ...
1
vote
0answers
495 views

What means the description in “ENOLCK” error return?

I have a NFS server and a NFS client mounting the exported directories from the server. I created a small C++ program for getting more information why some operation on the client does not work ...
2
votes
1answer
358 views

Man ignoring manpath

I have written my own manpage, but as it is going to be present on a large number of company computers and I want to update it often, I would like it to be situated in folder shared between these ...
3
votes
2answers
85 views

Is the synopsis section of the man page for the find command wrong?

So, I have been trying to get into the habit of first looking at man pages before starting to google when I forget how to run a certain command. I was looking at the man page for the find command ...
1
vote
1answer
55 views

Is it possible to update manuals on MacOS

I was doing some research on some C functions, and I noticed when I used, for example, man fgets, it outputs the manual for the fgets function; however, it references ISO C99 which is out-of-date ...
0
votes
1answer
76 views

man/troff: Convert ^ to ˆ

This is a follow-up on man -t converts - to − This time the problem is with ^ which troff thinks should be changed into ˆ. Is there a general way of telling man -t not to mess with the input? If ...
1
vote
1answer
66 views

Repeated values for errno in man page

I'm looking at the man page for the libc function execve under Ubuntu 16.04. I'm trying to handle errors as described by the man page: RETURN VALUE On success, execve() does not return, on error -1 ...
4
votes
2answers
135 views

Why are there different paths for a command in the Synopsis section of a Man Page?

Looking at the man page for grep I noticed there are two different paths to the command. Does this mean I have multiple grep tools on my system? Are the synopsis lines that have the same path just ...
0
votes
1answer
43 views

Input manipulation for an alias [duplicate]

man -k '^printf' lists man pages specifically available for printf utility only, printf(1) and printf(3) in my PC. If you do not mention these signs around printf, the command doesn't work. I want to ...
19
votes
2answers
1k views

Grep: unexpected results when searching for words in heading from man page

I'm running into weird behavior when trying to grep a man page on macOS. For example, the Bash man page clearly has an occurrence of the string NAME: $ man bash | head -5 | tail -1 NAME And if I ...
1
vote
1answer
247 views

grep: gcov-tool.1.gz: No such file or directory

I am learning Unix at the moment. I am trying to search the manual pages for the words column | chop. I do: cd /usr/share/man/man1 egrep -i 'column|chop' * I get this result: grep: gcov-tool.1.gz: ...
0
votes
1answer
93 views

How can I get sections with serial numbers in man man command on Mac terminal

On MAC terminal, how can I get output something like this: 1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program ...
1
vote
0answers
86 views

Parse error on systemd timer unit. Is the documentation wrong?

Today I tried to add a systemd timer to run a service at 0100hrs on the 1st Saturday of every month. According to man 7 systemd.timer you can use a pair of full stop characters to specify a range of ...
2
votes
0answers
62 views

How to read the man pages in german? [duplicate]

on my Ubuntu 16.04, the de folder inside /usr/share/man is present locale -a shows de_DE.utf8 is available So, if I have both, the man pages in german and german locales available, why do I still ...
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 ...

1 2 3 4 5 10