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
94 views

Redraw manpages with proper formatting after changing terminal font size

If I open a manual page in a maximized terminal and then increase the font size ("zoom in"), the text is still readable, but the formatting is distorted. Namely, the paragraph indentation ...
3
votes
2answers
271 views

Is there no manual page for /dev (devfs)?

I have been looking for a man page for the /dev (devfs) filesystem in order to understand the various directories and files within. Currently, I've only found a related man page for /proc (procfs). Is ...
3
votes
1answer
104 views

`man --html` and `man --gxditview` exit with errors?

Problem On my machine (Ubuntu 18.04), I am able to view man pages normally in the console. However, I cannot seem to get man --html (man -H) or man --gxditview (man -X) to work. Might anyone have any ...
0
votes
1answer
106 views

How to display a list of all `man` pages available on the system?

I learn Linux partly by reading man documentation. I often find relevant man pages using apropos or man <command>. However, I've come across many "hidden" gems, like man credentials ...
1
vote
1answer
23 views

How can I search manpages of a certain section range?

To give context, I want to do something like an this: alias posix='man ?p', so that I could later type-in posix time and display time(1p), time(3p), etc.. Is this supported by man or will I have to ...
1
vote
0answers
73 views

Linux mint man pages require sudo when pager is neovim

If I sudo man it works fine, otherwise I'm getting ~$ man ls fuse: mount failed: Permission denied Cannot mount AppImage, please check your FUSE setup. You might still be able to extract the contents ...
1
vote
1answer
33 views

Installing Read/Write locks documentation on Debian

I'm trying to write a program that uses read/write locks and would like to install the man pages for this type of lock. I already have installed the packages manpages-dev man-db glibc-doc Could you ...
0
votes
1answer
65 views

man set is not found in bash? [duplicate]

I am using bash I wanted to read the documentation of set But when i typed man set,it is showing No manual entry for set But when i code set hit="COVID19" echo $1 it prints as hit=COVID19 ...
1
vote
1answer
34 views

Examples of virtual hosts in the Apache manuals

I'm preparing my self for a Linux exam, and I keep forgetting the format of an apache virtual host. At the exam, I am allowed to use the man pages and any documentation from the server, but I'm not ...
3
votes
3answers
389 views

Does the info command display man pages?

I was looking for a way to follow "hyperlinks" in man pages, when I stumbled across the info command, which seemed to display information on commands the same as man but also allows you to tab to ...
0
votes
1answer
63 views

What does this FTP command really do? [closed]

I am currently learning UNIX and I am exploring FTP and how it works. I try to understand what this FTP command is doing: echo Start FTP ftp -nv 10.232.164.17 3147 << _EOF user ...
0
votes
1answer
49 views

Pipe a Man Page to Kate Without Writing to Hard Drive

What command will pipe a man page to Kate text-editor without writing anything to the hard drive? I've seen examples that create a temp file (on the file system) and then open that tmp file with a ...
0
votes
1answer
21 views

How to handle information overflow of man and the documentation?

I keep asking myself how to get familiar with the software (mostly a daemon) and its configuration. When running man <program name> I am very overwhelmed by the options available. How do ...
-1
votes
1answer
64 views

Manual entry for history missing… `man history` [duplicate]

I'm trying to figure out what's going on with my history... but I can't find the manual history -h returns nothing man history returns a level 8 history manual, not the bash one we all use.
2
votes
1answer
71 views

Why can't I see the manual for > but can see it for [?

I just did man [ and it opened the manual. Then I tried doing man > but I get this error: -bash: syntax error near unexpected token `newline' How is > different from [?
0
votes
2answers
141 views

Where does man bring the pages from? Does it store them? How secure is it?

I'm trying to understand how man works. Unfortunately man man doesn't yield answers for the following questions: Does the page for a command get installed with it or does man bring it from a remote ...
0
votes
1answer
53 views

Locally install a man page

I'm trying to make a script to locally install in a designated folder a personnal man page. I've tried changing the manpath, but this does not work.. My only objective is to let the user use : $ ...
3
votes
2answers
53 views

How to search for end-of-line hyphenated words in less(1)

Does less (or any other lightweight pager I could use as $PAGER) has such a feature? For example, if I type man bash and then enter /incorporates it doesn't find the word, despite it being right ...
1
vote
0answers
36 views

Where can I find the official document on advanced cp command? [duplicate]

I want to copy all contents in folder A(but not include A itself) to another folder B recursively, and overwrite any existing files or folders with the same name. Originally I plan to use the ...
3
votes
2answers
166 views

A man page is available: Why the command generates: bash command not found?

Recently I was reading about techniques of encryption. I found crypt and encrypt commands. When I read man page it displays ok but when I run some examples system displayed message about bash command ...
-1
votes
3answers
81 views

How do I view all of the entries in man? [duplicate]

How am I supposed to explore all of the commands available in my terminal? I'd like to be able to browse all commands/documentation that is currently documented within the man command, how do I do ...
7
votes
2answers
865 views

What's the difference between 'hier(7)' and 'file-hierarchy(7)' man pages?

Both hier(7) and file-hierarchy(7) man pages claim to describe the conventional file system hierarchy. However, there are some differences between them. For example, hier(7) describes /opt and /var/...
0
votes
1answer
30 views

Can't get manpath to work

I have a directory which contains man page files and some other files: $ ls doc cheatsheet.svg colorschemes.md config howto-publish-a-release.md ranger.1 ranger.desktop ranger.pod rifle.1 ...
0
votes
1answer
194 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
90 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
1answer
56 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
691 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
374 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
59 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 ...
3
votes
2answers
2k 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
51 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 (...
26
votes
2answers
6k 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
45 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
42 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
47 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
59 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
212 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
42 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
451 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
1answer
98 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
41 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
72 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
72 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
146 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
105 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
51 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
46 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
395 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
29 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
362 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
2
3 4 5
11