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

GREP error: warning: cannot select font 'i'

I am in the process of learning the usage of iscsiadm and somehow I noticed a strange behavior of grep. Attempting to run the following grep command man iscsiadm | grep "aia" results in ...
Cane's user avatar
  • 13
0 votes
1 answer
27 views

Where is "--localcacert" in Puppet man page?

I am new to Puppet. We have a command and it uses the --localcacert option. The command looks like this: puppet agent -t --localcacert <path to CA cert> --ca_server <CA server hostname> --...
Noob_Guy's user avatar
  • 103
0 votes
0 answers
62 views

How to Identify column names in terminal commands

Sometimes its useful to select/de-select specific columns from a command output data, but the columns are not always listed by name in the manpages. How can we find the names? For example Running two ...
raquel's user avatar
  • 11
6 votes
4 answers
1k views

How do I add line numbers to the man page?

How can I add line numbers to man pages or info pages in Linux? I want to use line numbers to navigate in man pages. I can write the man page in a file and then open it with Vim, but is there a better ...
mohamadi_arch's user avatar
3 votes
2 answers
559 views

Understanding of dot with text in square brackets in manpage

In some man pages, e.g. https://man7.org/linux/man-pages/man3/memchr.3.html, I see the following: void *memchr(const void s[.n], int c, size_t n); e.g. on https://man7.org/linux/man-pages/man3/...
Soner from The Ottoman Empire's user avatar
0 votes
0 answers
30 views

How do I read Cygwin's `/bin/kill` man page without bash's `kill` builtin interfering?

I'm using Cygwin on Windows 10 but I also use Ubuntu with WSL2. I can't reproduce this with the latter. When I type man kill in cygwin, it says No manual entry for kill. When I type man /bin/kill, it ...
Daniel Kaplan's user avatar
1 vote
1 answer
66 views

The difference between `ps axjf` and `ps -axjf`

I'm trying to get a deeper understanding of the ps command in linux. I'm confused when using ps axjf and ps -axjf when I find they seem to have different meanings in the manual but their output is ...
lightxy233's user avatar
0 votes
1 answer
61 views

Substitute a new man page for an older one

I've just built (from source) a current version (ver 2.1) of libgpiod on my RPi 4B. There are six (6) "command-line tools" included in the source tarball for libgpiod. During the make ...
Seamus's user avatar
  • 2,885
1 vote
1 answer
74 views

What's the difference between Ubuntu's man and macOS's man?

My main machine is running macOS 14 Sonoma, but I often ssh into Ubuntu servers. Recently I noticed a strange difference between the man program on these platforms. On Ubuntu, man displays a useful &...
Bartek Pacia's user avatar
0 votes
0 answers
61 views

How shall I understand the synopsis of this command?

https://nixos.org/manual/nix/stable/command-ref/nix-shell.html Synopsis nix-shell [--arg name value] [--argstr name value] [{--attr | -A} attrPath] [--command cmd] [--run cmd] [--exclude regexp] [--...
Tim's user avatar
  • 101k
0 votes
1 answer
45 views

Restrict the number of colums for man (or less)

I use man pages in the console a lot (no GUI), but the wide screen I use really has a lot of columns in text mode. The lines are too long and unpleasant to read. Is there a way to limit the number of ...
fleetingbytes's user avatar
1 vote
1 answer
34 views

man pages global search regex `.*word1.*word2.*` does not find a page that contain both words

I want to use man more efficiently. I've decided to try --regex option. However: ~$ man --regex -K '.*textdomain.*perl.*' --Man-- next: Locale::Messages(3pm) [ view (return) | skip (Ctrl-D) | quit (...
Alex Martian's user avatar
  • 1,005
2 votes
2 answers
131 views

Why is there manpage for sync(1) and sync(8) and how do they differ?

I see there are two different utilities in Linux manpages and I don't understand the difference. There is sync(1) and sync(8), and they look eerily similar. https://linux.die.net/man/8/sync https://...
Karel Bílek's user avatar
  • 1,951
1 vote
2 answers
344 views

How do I change the PAGER variable for man if it's possible?

I'm not an expert in Linux, but I was reading an introductory book and found that man pages use the PAGER environment variable to show the content of man pages. I checked printenv and didn't find any ...
Yanjan. Kaf.'s user avatar
0 votes
3 answers
152 views

open man (or info) pages from the same position where you left off last time

I treat man pages is the primary source of documentation about installed software. I would like to use them not only as a reference, but actually read them from beginning to end. And here comes the ...
Sergey Guzenkov's user avatar
0 votes
1 answer
127 views

How to show help for some bash command in less (like man do) rather than print it to console

For example, there is no manual pages for trap command. Running: man trap will give: No manual entry for trap Running: trap --help will print help straight to bash console without using less like ...
Anton Samokat's user avatar
1 vote
1 answer
54 views

Can one find all pages in SEE ALSO of a man page? Jump to some of them when viewing man page?

I'm learning to edit man pages. I've just noted SEE ALSO part in source file consists of separate lines (displayed as one long line by man). Any value in that? Or I can as well put long list of ...
Martian2020's user avatar
  • 1,157
0 votes
1 answer
46 views

man not searching ~/.local/share/man/ for man pages

On a previous install of Ubuntu 20.04, man would also search in the XDG_ home folder location in addition to the normal paths, e.g. /home/naftuli/.local/share/man/man?/*. For instance, I often ...
Naftuli Kay's user avatar
  • 39.6k
0 votes
1 answer
62 views

How do I install the manual pages on NetBSD?

I've done a "Minimal" installation of NetBSD 9.3 from the ISO image, just to examine the behavior of one particular command (mktemp) as it differs from Linux. I'm not seeing man pages for… ...
TheDudeAbides's user avatar
0 votes
0 answers
61 views

Colored Man Page and source Issues

i'm using alacritty as my terminal on Fedora 38 Workstation. I have tried few different ways of getting colored man pages working but none are panning out, even if i go into the GNOME terminal (to ...
Spliced Anomaly's user avatar
5 votes
5 answers
754 views

Retaining full manual for scrolling in SSH (Putty) terminal

Beginners question: I am reading a man page called in a ssh (putty) session, i.e: man usermod Now this man page has about 252 line, when reaching the end, I press q for quit. It would be very helpful ...
MMAX's user avatar
  • 205
1 vote
0 answers
48 views

Coloring man pages doesn't work anymore? [duplicate]

I've had this for more than 3 years in my bashrc: man() { LESS_TERMCAP_md=$'\e[01;31m' \ LESS_TERMCAP_me=$'\e[0m' \ LESS_TERMCAP_se=$'\e[0m' \ LESS_TERMCAP_so=$'\e[01;44;33m' \ ...
Enlico's user avatar
  • 1,525
0 votes
1 answer
26 views

Does Debian ship the documentation for btrfs?

While researching the answer for this question, I noticed there is a documentation page for man 5 btrfs that I see online. But I don't see that on Debian 12. Did this get shipped at all? How can I ...
Evan Carroll's user avatar
  • 30.4k
2 votes
0 answers
42 views

How do I get the man page for a sub command using vim?

For example, I get the manpage for a command using 'K': docker run +------------ cursor is on d # if I press 'ESC-SHIFT-K', I'll get a manpage for docker Now, if I want to get the manpage for docker ...
Chris's user avatar
  • 961
0 votes
2 answers
178 views

man syscalls is missing in arch linux

I just can't find it. I've installed linux-docs with sudo pacman -S linux-docs but still man syscalls does not work.
Corel's user avatar
  • 103
-1 votes
1 answer
62 views

Why are there missing commands on some manpages? [closed]

Early on in my Linux journey, I found some manpages to be lacking. One example is that on Fedora 37, I forgot the command to display the total filesize of all files in a directory. I knew it involved ...
the_endian's user avatar
0 votes
1 answer
59 views

mandb generates all possible languages in /var/cache/man

In Debian 12, the following command is run weekly: start-stop-daemon --start --pidfile /dev/null --startas /usr/bin/mandb --oknodo --chuid man -- --quiet which generates man caches in /var/cache/man ...
Martin Vegter's user avatar
1 vote
1 answer
44 views

Converting non-English manual pages to PDF/PostScript

I'm trying to convert manual pages containing either Japanese or Russian characters to the PDF/PostScript formats. I'm doing it with the following commands. man -Tpdf /usr/share/man/ja/man1/vim.1.gz &...
Shamaoke's user avatar
  • 201
2 votes
2 answers
59 views

What is the recommended user writable manpath?

I'm writing an interactive shell utility (it's a bash script), and I would like to provide a man page for it. It's a script that I expect the user to download and put in their PATH, not something ...
suvayu's user avatar
  • 148
0 votes
2 answers
42 views

man page: how to see progress through file (MacOS)

When viewing a man page, is there a way to see visually where you are in the file? Typing = shows the line numbers currently in view, but does not show how many lines are in the file. I'm not ...
Rich006's user avatar
  • 103
1 vote
0 answers
215 views

Unable to resolve sphinx-build on ArchLinux VM (installed via pacman)

I'd like concise information on kernel-internal functions, structures, and macros at hand while I develop kernel modules. I have the Linux-kernel repo cloned on my ArchLinux VM, and I would like to ...
user129393192's user avatar
-3 votes
1 answer
49 views

broken link in APG's man page

How can I create an issue for the broken link in APG's man page? My try: I tried sending an email to the address above the broken link, but it seems that it's no longer accessible. The highlighted ...
GNUSupporter 8964民主女神 地下教會's user avatar
0 votes
2 answers
147 views

Console doesn't render according to man manual

So why is my console on Ubuntu doesn't render according to the man manual? If I type in man man in the console I get a manual for man. And for example, it points out that italic text replace ...
Juandev's user avatar
  • 101
5 votes
3 answers
941 views

Manpage for configuration file

I often find myself in the situation where I need to look up the syntax and logic for a configuration file of some program on my computer. While I can do man mosquitto, this will not necessarily yield ...
Daniel D.'s user avatar
0 votes
1 answer
148 views

How do I change the language of the man pages on Debian, while keeping the default language as english

I've tried changing the man pages on debian from English to Italian but all I have tried hasn't worked yet. First of all, I installed the manpages in Italian with apt install manpages-it. I then ...
Chris's user avatar
  • 1
0 votes
1 answer
114 views

Why does the `man` command not handle SIGINT or SIGQUIT?

When using man, I noticed that you need to use the q key to exit instead of using CTRL + C (SIGINT) or CTRL + D (SIGQUIT) signals. Is there any reason for this? I couldn't find anything in the man ...
LeoDog896's user avatar
  • 149
0 votes
2 answers
163 views

Syntax or convention used to describe Linux commands

If you apply git clone --help in the command line, your result will include something like the following: git clone [--template=<template_directory>] [-l] [-s] [--no-hardlinks] [-q] ...
Guru's user avatar
  • 3
2 votes
1 answer
164 views

Debian - command fatlabel is missing but package dosfstools that contains the command is already installed

I want to change the volume label of a FAT usb with fatlabel but when I try to run the command in terminal it does not recognize it. root@debian:/home/a# fatlabel --help bash: fatlabel: command not ...
ndwo28997's user avatar
0 votes
1 answer
136 views

Why can't I filter manual pages through grep command? [duplicate]

I'm not sure if something has changed about my system but I find that filtering Unix manual pages through my grep command isn't working. Do you know what's wrong? For example, consider the jq manual ...
mbigras's user avatar
  • 3,082
3 votes
1 answer
179 views

Why does `makewhatis` choke on symbolically linked directories, and how can I fix/avoid it?

Example (from macOS 11.7; also shows up on macOS 12.6.1; these are the only systems I have available to test) $ pushd "$(mktemp -d /tmp/makewhatis-XXXXXXX)" $ mkdir man $ ln -s man sman $ ...
D. Ben Knoble's user avatar
0 votes
2 answers
47 views

How to easily find what variation of <common command> is used in my distribution?

When learning to use basic C functions and other commands (sed, awk and a lot more) in terminal, shell, etc. I realize that their behavior is slightly different depending on the OS. MacOS, Linux and ...
ming88257's user avatar
0 votes
1 answer
76 views

invoking 'man' specify search at command line [duplicate]

When invoking, say '$ man zshbuiltins' if I want to read up on zsh's 'read' command, using the slash to start a search will give you a hundred hits of the string 'read' before you get to the actual ...
Ray Andrews's user avatar
  • 2,297
1 vote
1 answer
35 views

Show application list with description, ommitting "nothing appropriate"

I've been working on a script with a variety of functions. I'm trying to add a function that show's the output of the whatis command for all applications in the "/usr/share/applications" ...
Lee's user avatar
  • 85
1 vote
1 answer
32 views

`man <command>` not giving docs that (`which <command>`) executable points to

man <command> doesn't always point to the "right" (as in "given by which <command>"). Is there a way to make sure (or at least increase the chances that) I get docs ...
thorwhalen's user avatar
14 votes
2 answers
3k views

Why is the -e option not in the bash command manual?

I'm a little confused about the missing -e option from the bash manual. man bash But it is working with a script shebang like : #!/bin/bash -e and of course it is defined in help set. Why isn't it ...
bob dylan's user avatar
  • 1,852
1 vote
2 answers
66 views

Why might `man -awK` be including results that don't match the search term?

Example: man -awK "typeset" This was confirmed by piping to grep: search=typeset man -awK -- "$search" | xargs -I {} sh -c "echo '{}' man --no-hyphenation --no-...
Jonathan Wheeler's user avatar
3 votes
2 answers
483 views

How to pipe a man page (without pagination) while intentionally preserving formatting?

Minimal example: man git | cat Real example: man git | grep --color=always -C 3 "pathspec" FWIW, I've tried --pager="cat" using various pagers, as well as piping to various ...
Jonathan Wheeler's user avatar
1 vote
1 answer
123 views

How to read the info format of the GNU Standard C Library?

I have installed the glibc-doc-reference package in Debian Bullseye, and the package documentation says that it Contains The GNU C Library Reference manual in info, pdf and html format. The HTML ...
OlaHH's user avatar
  • 11
1 vote
1 answer
142 views

Where to find purpose of each system default Groups and Users in Linux

when I cat /etc/group and cat /etc/passwd I get a list in which I find many I don't know. I know only group sudo group. But there is are many which I don't knows such as sys, adm .... I like to learn ...
zakadmin's user avatar
16 votes
2 answers
2k views

How can I keep colouring when piping man to less?

I have this in my .zshrc file export MANLESS="" export LESS="--RAW-CONTROL-CHARS" export LESS_TERMCAP_mb=$(tput bold; tput setaf 5) export LESS_TERMCAP_md=$(tput bold; tput setaf 1)...
Martin Vegter's user avatar

1
2 3 4 5
13