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
1answer
64 views

Why is `man` outputing to stdout instead of $PAGER (less)?

When I run man [program], the man page text is output on the terminal (a la cat, without a pager that provides interactivity) instead of opening the man page file in less (so you can scroll, search, ...
1
vote
1answer
31 views

How to make apropos read MANPATH

I am an unprivileged user on a system, so I have installed some software in my home directory. In addition to adding ~/.local/usr/bin to my PATH, I've added ~/.local/usr/share/man to my MANPATH so I ...
0
votes
0answers
14 views

groff registers not defined during macro

Context: Let's say I am trying to write a macro in groff in order to draw a rectangle given some arguments (like width and height for example). For this I need to perform some simple arithmetic, that ...
1
vote
1answer
32 views

Getting manual on openssl req command

I know I can get help on command by executing man openssl. Is it possible somehow get help on only openssl req command?
0
votes
1answer
34 views

Updating a Linux app (rsync) - what am I meant to do with .yo files?

OS: Linux Mint 18.3 With a view to starting to use rsync I wanted to upgrade to the latest version: Synaptic on this machine has version 3.1.1. but the latest stable version is 3.1.3. So I ...
0
votes
1answer
26 views

Linux Mint 19.2 Cinnamon 64-bit strange behavior with “info” command

I have a Linux Mint 19.2 Cinnamon 64-bit install running on ZFS root. I occasionally use the info command to look up things which I can't remember off-hand, for example, obscure details of C format ...
1
vote
2answers
91 views

How to open “Linux Programmer's Manual” on installed “POSIX Programmer's Manual”?

How can I open "Linux Programmer's Manual" after having installed "POSIX Programmer's Manual"? On Ubuntu 18.04 I usually see "Linux Programmer's Manual" by man command. But I wanted to see "POSIX ...
0
votes
1answer
22 views

How to read library documentation downloaded as a package (package-doc)

I am coding Qt GUI application for cryptography and want to use OpenSSL library calls for my application logic. Thats why i downloaded libssl-dev and libssl-doc packages via Synaptic package manager (...
24
votes
2answers
3k views

Why does rm manual say that we can run it without any argument, when this is not true?

We can see that the synopsis of rm command is: rm [OPTION]... [FILE]... Doesn't it mean that we can use only rm command without any option or argument? When I run the command rm on its own, the ...
1
vote
0answers
23 views

Is there a way to make `man` reflow text when the terminal window is resized? [duplicate]

man apparently uses less -s as the default pager, which does reflow text when the terminal window is resized, but this does not happen in man. Is there any way of making man reflow text, so that it ...
0
votes
0answers
27 views

Bashrc not loading when running manpager

I have found issues with using the MANPAGER variable in bash in order to set vim to be my manpager. Initially I set my manpager using the method shown in :help manpager by doing: export MANPAGER="...
0
votes
1answer
30 views

Ubuntu issue with “man”

When I try to run man -k ., I only get a list of commands starting with pvck. So when I run man ls for example, I get a blank page that asks me to select h for help or q to quit. The same thing ...
2
votes
1answer
42 views

Which package contains libc manpages?

Which package does contain manpages for standard C functions? I have installed glibc and gcc but there are only POSIX manpages. I mean manpages like strlen.
4
votes
2answers
207 views

Which CentOS 7 package provides the “boot” manpage?

On my CentOS 7.7.1908, the manpage for boot (describing the system boot process) is not installed. How to find which package provides it? yum whatprovides /usr/share/man/man7/boot.7.gz returns no ...
0
votes
0answers
27 views

How to read passwd(5) manual page? [duplicate]

When I do man passwd, it opens the manual for PASSWD(1). So what is PASSWD(5) and how to open its man page?
0
votes
1answer
64 views

man -k / apropos “nothing appropriate.” for “compilation” word from man objdump description

I've read couple of posts (man -k returns no results) and first run mandb (nothing was updated), then mandb -c (7438 manual pages were added.), still $ apropos compilation compilation: nothing ...
2
votes
0answers
60 views

awking for command options from man page

I am trying to auto-generate tab-completions for different commands. I am piping man pages for different commands into awk, then searching for command line options (eg. -shortopt --long-option) ...
0
votes
0answers
28 views

Discrepancy between linux man page and implementation of mmap

I am trying to compile a program that requires the mmap(2) to support the flag MAP_SYNC, but my compiler reports that no such thing exists. Now, I manually verified the header file for mmap and found ...
1
vote
1answer
66 views

What does `2` in `GETRLIMIT(2)` mean/come from? [duplicate]

I know GETRLIMIT(2) is used to control maximum system resource consumption. What does 2 in GETRLIMIT(2) mean/come from?
1
vote
1answer
37 views

How to prevent the name of a man page from being truncated when using Vim as a man pager?

Consider this shell command: $ MANPAGER='vim -Nu NONE -R -' man git-credential-cache It makes man(1) display the man page of git-credential-cache(1) in Vim. However, the name of the man page – as ...
-1
votes
1answer
82 views

apt-get man page weird flag

I just looked up the man page of apt-get via man apt-get and it shows me a weird flag in the synopsis section. It's the first one. Each x is a capitalized/uncapitalized character. SYNOPSIS apt-...
1
vote
1answer
62 views

Linux man: How do you “see ld.so(8)”?

I have read the Wikipedia man page, this StackExchange page, and the man section of Unix and Linux System Administration Handbook, 4th edition, page 16, but they don't seem to explain how to use man ...
0
votes
0answers
29 views

No manual entries for basic commands like cp or mv

I'm using OpenMandriva Lx 4.0 for a few weeks now and all in all it works very well on my small Netbook. Recently I've noticed that for some commands e.g. cp or mv there is no manual entry found on ...
1
vote
3answers
36 views

How to find name of the command locally [duplicate]

I use Linux not Windows for several years at home and consider using command line quicker way to do things. However sometimes I could not easily recall name of needed command, for example instead of ...
1
vote
1answer
97 views

What is the use of n option in cut command?

I'm learning about the cut command. In the man page of cut, they show the -n option like: -n (ignored) But I didn't understand the usage of the n option or when we would use it. Can anyone ...
0
votes
0answers
28 views

How to jump directly to page N, when `man -a` finds multiple man pages?

Suppose I have multiple versions of a software installed (e.g. bash), and that man -wa returns mutiple results for that piece of software. Now, how can I jump directly to the N'th page after ...
0
votes
1answer
93 views

Magic file format

From the magic file format manual the format for the rule should be offset type value message For example: 0 string MZ >0x18 leshort <0x40 MS-DOS executable >0x18 leshort >...
1
vote
1answer
77 views

Man page aliases

Some man pages document multiple commands/functions in a single page while the man command usually presents the right man page for each one. Example: the man page for malloc/free/calloc/realloc on ...
0
votes
1answer
39 views

What is the convention of the last line (or footer) of a manpage

I want to know where I can find documentation on the meaning or convention of the last line of a manpage, looking through manpage for man didn't help. For example: …$ man top|tail -n 1 procps-ng ...
0
votes
0answers
43 views

Why does man not find entries?

> man ls No manual entry for ls > man tar No manual entry for tar Every command cannot be found, except Git. I installed git a while ago and had trouble getting the git man to show up. I ...
0
votes
1answer
77 views

man <sth> | grep -A2 “SEE ALSO”

When I'm grepping a man page for the section titles written in capitals, it seems as if they are not there. It works with the same words in lowercase. For example, when I write man <xxx> | grep -...
1
vote
1answer
162 views

how to pipe output of ps2pdf to zathura

I want to view manpages as pdf. I tried the following: man -t awk | ps2pdf - - | zathura (combination of this and the last example in the manpage of ps2pdf) However, zathura just shows me a black ...
0
votes
2answers
2k views

What does grep -w do?

In here grep is used with the option -w. I did man grep and grep --help to try to find what the aforementioned option does. Neither output says anything about a -w option. What does that option do? ...
1
vote
2answers
34 views

Passing options into man for a self-written help file

I have a question about the syntax of manpages. I just wrote documentation in manpage format for my little project. I would like to allow users to type man commandname option as in git ...
1
vote
0answers
44 views

Include index info in pdf man pages

I know that I can get to output manual page content with man -Tpdf. Many pdf readers can display and jump to specific points or sections in the document (i.e. by hitting tab from inside zathura). I ...
1
vote
1answer
69 views

Searching man pages doesn't work

I've recently moved from Debian to Arch Linux, and I'm having some trouble with man pages. I can open them just fine, so a command like man printf brings me to the correct page, but if I run man -k ...
0
votes
0answers
40 views

How to figure out what fields are available for a command / navigating man pages?

I'm studying how to review/query journal entries for RHEL8 using the journalctl command. In my book, I came across this section listing the fields that can be used for querying: _COMM The name of ...
0
votes
2answers
65 views

apt packages without manual pages

When I look at what I have installed via apt list --installed, why are there so many entries without manual pages? I tried info [package name] and package name --help and get the output bash: ...
1
vote
2answers
598 views

POSIX Programmer's Manual vs Linux Programmer's Manual

I wanted to take a look at the manpage of pthread_mutex_trylock. By typing man pthread_mutex_trylock, I got No manual entry for pthread_mutex_trylock. Then I saw a post suggest doing sudo apt-get ...
0
votes
0answers
16 views

Duplicate man tries - the `whatis` command [duplicate]

Some programs return more than one result when running whatis despite the fact that there's only version of them. The snippet below is Bash. $ type -a rmdir rmdir is /bin/rmdir $ whatis rmdir rmdir (...
2
votes
1answer
87 views

less search: show match with context before match (within less)

I would like to modify the search behavior when inside less: By default next match is shown at the very top line. Instead show me next match of word at 5th line of screen/ show 4 lines before match. ...
2
votes
2answers
61 views

What is the Position_args in man page

I just Joined Linux and I trying to explore commands with the available resources (mainly man pages) It's easy to understand what are the option args(content in usage and options) in a command ...
1
vote
2answers
99 views

What does “per-interactive-shell” mean?

By typing man bash, we can see FILES /bin/bash The bash executable /etc/profile The systemwide initialization file, executed for login shells /etc/...
17
votes
1answer
4k views

What does the “3am” section means in manpages?

I found this accidentally. I just typed man fork, and instead of showing the system call documentation, it showed to me an awk extension, however, the section page number was 3am, instead of just 3. ...
-1
votes
2answers
93 views

My Lubuntu install has no manual entry for X; what do I need to install?

I was wondering what I need to install in Lubuntu 18.04 for this problem? $ man X No manual entry for X See 'man 7 undocumented' for help when manual pages are not available. $ man x No manual entry ...
0
votes
1answer
227 views

How to install man pages for certain libc functions?

In the past, from time to time, while developing Linux software, I have noticed that some man pages which deal with developer documentation are missing on my systems. This happens mainly on Debian ...
1
vote
2answers
57 views

Can I view a specific chapter in a manual? [duplicate]

Can I view a specific chapter in a manual? I tried man socket(2) in WSL Ubuntu 16.04 (Xenial). This is after I got a recommendation to see chapter 2 in a man of the socket utility.
0
votes
1answer
100 views

grep doesn't show result [duplicate]

I was trying to search in man find, and I would like to know what's going on. $ man find | grep Like Like -lname, but the match is case insensitive. This is a GNU Like -...
3
votes
3answers
278 views

How to search for a string from all the man pages

What command would show all lines containing the string “brace expansion” (ignoring case) in the man pages for Bash? I tried man -wK . | grep "[Bb]race [Ee]xpansion" I have got series of "couldn't ...
0
votes
1answer
69 views

non-printable characters in man pages and logs

I am seeing non-printable characters in a lot of system contexts, like man pages and logs. They show up as a highlighted question mark. For example, in one man page I have the following values: E2 9F ...