People who code: we want your input. Take the Survey

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
6
votes
1answer
2k views

Where does 'man 7 undocumented' come from?

On Ubuntu 16.04, I got the following: ubuntu@ubuntu-xenial:~$ man 2 chmod No manual entry for chmod in section 2 See 'man 7 undocumented' for help when manual pages are not available. ubuntu@ubuntu-...
6
votes
1answer
306 views

piping a man page on MacOS into an editor

Using bash on Mac OS to edit some man pages for my own use. In Mac OS the command open -t filename will open the specified file in the system's default text editor. $ man somepage | col -b will ...
0
votes
1answer
111 views

Can I get common hyperlinks in Info manuals?

If I view man pages using info (e.g. info man), I see common hyperlinks (e.g. apropos(1)). However, Texinfo commands that create hyperlinks (e.g. @xref), in Info output, add a label (*Note) before ...
1
vote
1answer
55 views

How to know if man pages are written in my language?

I know my language hindi is in my locale. I have tried to access the hindi man page using this command- man -Lhi man But it returns english man pages. So I want to find out how to know if man pages ...
0
votes
1answer
110 views

Empty man pages after upgrade to Kubuntu 18.04

When I run the command $ man ls all it shows me is Manual page ls(1) line ?/? (END) (press h for help or q to quit) and after pressing q man: command exited with status 4: (cd /usr/share/man &...
0
votes
1answer
48 views

Retrieve the manual format clipboard

I'd like to retrieve the manual to the clipboard, usually implement the following steps: # man crontab # man crontab > draft.md # cat draft.md then copy it manually from the console, How could I ...
6
votes
6answers
230 views

How do I know if the man page I'm looking at is the correct one?

For example, [fakename]$ type echo echo is a shell builtin But man echo gives me the GNU coreutils version of echo. What's the easiest way to tell if the man page I'm looking at is the correct one, ...
1
vote
1answer
927 views

Where is the “group-separator” option listed in the grep documentation?

My flavor of grep supports --group-separator and --no-group-separator but I only discovered this by googling how to solve a problem: https://stackoverflow.com/questions/2168065/how-do-i-get-rid-of-...
11
votes
2answers
2k views

Why is `time` not in the GNU Bash manual?

[fakename]$ help time time: time [-p] pipeline Report time consumed by pipeline's execution... From this, it seems that time is a Bash builtin. However, I cannot find a description of it on this ...
0
votes
1answer
148 views

Why can't I grep the tmux man page for join-pane? [duplicate]

If I type man tmux then /join-pane I go right to the subcommand I'm looking for: But if I grep the man page then I get nothing: $ man tmux | grep join-pane $ echo $? 1 If I try something different ...
0
votes
1answer
320 views

Finding a man page with a standard C or POSIX type? [duplicate]

Is there a way to find a man page given a Standard-C-type or POSIX-type? Such as man size_t or man uintptr_t. This kind of thing can get confusing because uintptr_t is defined in stdint.h, and size_t ...
0
votes
0answers
29 views

Looking up docs for C header files? [duplicate]

On Ubuntu if I type man 2 time I get, NAME time - get time in seconds SYNOPSIS #include <time.h> time_t time(time_t *tloc); ... I get that this works because time is the ...
2
votes
1answer
229 views

Encoding problems with German man pages

On the machine I am working on I have English man pages under /usr/share/man/and German ones under /usr/share/man/de. The former are encoded with us-ascii, the latter ones with utf-8. Unfortunately ...
0
votes
3answers
206 views

Why doesn't set or export have a man page? [duplicate]

I tried to look up info on export and set using man and was surprised to see there is nothing. Is this true, or is this something distribution specific? Why is the page missing?
2
votes
1answer
119 views

manual pages of built .deb install on Debian but not Ubuntu

I am testing out the build of a .deb package on different distributions using test-kitchen. The built .deb file installs the command to /usr/bin fine on both Debian and Ubuntu. My problem is that the ...
0
votes
2answers
77 views

Which installation does man find for a command name?

On Lubuntu 18.04, the default awk is mawk, and I found that man awk gave manpag of mawk Then I installed gawk, and awk became gawk. and man awk gave manpag of gawk. I wonder if that is the general ...
15
votes
2answers
5k views

Export a man page in pdf

Doing man -t man > man.ps will export the man page for man in postscript. How can I export it in PDF? I have gone through the manuals and learnt about the -T option but it's a bit unclear to me.
1
vote
0answers
562 views

Kernel man pages, make: *** No rule to make target 'installmandocs'

As a follow up to this question, How to make the kernel section 9 manpages which document functions, data structures, and headers?. I downloaded the kernel source code and in the source dir execute ...
0
votes
2answers
160 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 ...
3
votes
2answers
2k 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 ...
3
votes
2answers
367 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 ...
6
votes
3answers
12k 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
97 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
46 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
379 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
1k 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
121 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__ ...
5
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
890 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
4answers
220 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
1k 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
464 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
38 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
54 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
438 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
118 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
155 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
707 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, ...
5
votes
2answers
22k 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
276 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 ...
1688
votes
3answers
338k 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
107 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
437 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
620 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
502 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
468 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 ...
5
votes
1answer
16k 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 ...
5
votes
1answer
1k 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 ...
3
votes
1answer
83 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 ...
2
votes
1answer
775 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 ...

1 2 3
4
5
11