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
4
votes
1answer
77 views

`man -H` always opens a non-existent file in browser

I'm trying to use the command /usr/bin/man -H 3 free to open the manpage in my browser, but each time I run the command, the browser opens a non-existing file and of course the page cannot be ...
-1
votes
1answer
37 views

Is there a convention for naming and placing the manual page file for a command in source tree?

I think the name could be in format <command_name>.<section_number> where the numbers are shown in the description chapter of man man. I use doc directory for the file in a repository.
0
votes
1answer
19 views

Installing man pages for Fedora cloud

I have installed a Fedora cloud image for education purposes. It has no man pages. https://github.com/fedora-cloud/docker-brew-fedora/issues/9 writes a solution: Workaround solution for later ...
0
votes
1answer
193 views

What's the difference between `chmod a+x` and `chmod +x`? [duplicate]

Found an article saying to use chmod a+x to add execute permission to a file. What is the difference between it and chmod +x? (And is there an easy way to search about these differences in man pages? &...
0
votes
0answers
8 views

Erlang Man Pages on Arch Linux

I use Arch Linux and installed the package erlang-nox. Erlang's manual pages are stored under /usr/lib/erlang/man, which is not in the default lookup path. So I extended /etc/man_db.conf and added ...
5
votes
1answer
375 views

Why a text editor shows different from cat command

I run: $ man cd > mancd $ cat mancd This shows as expected. But when I open the file with VSCode and vim, they are completely different. Why is it and how can I redirect the man page to a file ...
0
votes
1answer
40 views

Reference for format of PS1 string replacement in RHEL8 [closed]

In RHEL8 the text of the command prompt presented to the user can be controlled by setting PS1. There are some format specifiers that can be used, for example using '\u' in the string will be replaced ...
3
votes
0answers
40 views

How do I increase the font size and set the page size when exporting a man page to PDF?

I know how to export a man page to PDF: man -Tpdf cat > cat.pdf What if I want to specify the page size (e.g. A4 or A5), and increase the font size (e.g. size 16)? How can I do it? I am using ...
-2
votes
1answer
53 views

What are the numbers in /etc/passwd? (and is there a way to find answers to these kind of questions without searching the internet)? [closed]

If i run grep user /etc/passwd, i get the string user:x:1021:1021::/home/user:/bin/bash. What does the numbers "1021:1021" mean? And is there a offline way to find what these mean? If i do ...
2
votes
0answers
21 views

What means the definition of path and leaf array in jq --stream man page

In the jq manual page, --stream option, says: Parse the input in streaming fashion, outputing arrays of path and leaf values (scalars and empty arrays or empty objects). For example, "a" ...
1
vote
0answers
20 views

man pages have odd characters in the output

I am using Fedora and Gnome. I use GNOME Terminal and I am experiencing some odd output characters which seem to surround certain keywords on output. 1mNAME0m sync - Synchronize cached writes ...
2
votes
1answer
33 views

Man cannot read manpage from NFS, although the file is readable

I have an issue reading man pages that live on an NFS mount. I managed to isolate it to the following minimal example. The man page file is on an NFS mount /data and its path is /data/program.1 I can ...
0
votes
1answer
20 views

Print and bind manpages

I intend to print and bind all the manpages for my distribution. For actually retrieving all the manpages, I found I can use rpm2cpio to get all the manpages, but I don't know to retain the formatting ...
0
votes
1answer
24 views

What do the sections in the mdoc manpage refer to?

So I've been looking into writing manpages for a project, and eventually came to the mdoc man page. In it, it describes the common layout for manpages as including: .\" .Sh CONTEXT .\" ...
1
vote
2answers
28 views

No man page of program Whipper in Arch Linux

I have installed the program whipper with pacman in official repository in Arch Linux to rip CD's. But the man page won't come up with man whipper. Then I cloned their github: https://github.com/...
0
votes
1answer
58 views

Why Does the NetBSD System Call Manual Mention the Standard C Library?

I'm reviewing man(2) pages on NetBSD 9, and have seen that all of the documents (write(2), open(2), pipe(2)) mention the Standard C Library at the top. My understanding was that system calls were ...
1
vote
1answer
37 views

Where are defined the man pages grouping descriptions?

I am not sure if "grouping description" is the right way to call it, but I am very curious to know where usually the first line of a man page is defined. Most of those descriptions are not ...
3
votes
2answers
1k views

Processing triggers for man-db. Not building database; man-db/auto-update is not 'true , error

I get this message every time I install a new package in KDE neon via terminal, Is it normal and I should ignore it or I should fix this? Reading package lists... Done Building dependency tree ...
0
votes
1answer
59 views

Convert info/texinfo to man?

I prefer to view man pages rather than info. Is it possible to convert/view the info content in the man format? E.g. info -o - --subnodes tar | less but in a more readable format I am asking because ...
0
votes
0answers
19 views

man -k . is not working in gnu/linux [duplicate]

I am using manjaro and when i try command man -k . or apropos . or man -k . -s 2 to see all man pages it's giving me error like .: nothing appropriate. is it man different because i gnu coreutils ? ...
4
votes
3answers
398 views

How to obtain the complete set of man pages from man7.org on a Linux machine?

I sometimes find that man7.org has available man pages not found on locally on my Linux distribution. An example is veth(4) that provides information on veth network devices. A quick inspection using ...
0
votes
0answers
29 views

Finding the meaning of a command argument [duplicate]

When reading through other people's code I often wonder if there is a quick way to find the definition of a particular command argument. For example: Let's say I know what some_command does, but I don'...
1
vote
1answer
35 views

Man page without wrapping

I am running man man in both a skinny and a fat terminal window. I don't care if stuff is right-justified, as long as the behavior I describe below is accomplished. I did try man --nj man, and it didn'...
0
votes
2answers
41 views

Extra characters appear in `less`

Many non alpha-numeric characters appear as jumbled mess when using less and man. Currently, I'm using zsh but the same problem happens in bash and sh. The problem also appears in both the st and ...
0
votes
1answer
44 views

How to set background color of $PAGER?

I usually set my terminal with transparent background. But, when I need to read a lot of text such as man, less, cat, etc., I want my background color to be solid black. I can change the backgrounds ...
2
votes
1answer
24 views

Why does apropos and man -k omit or miss valid results?

For example, if I enter the following command: $ man -k compare The diff command is missing from the results, however the test command is not. I get the same results using apropos as expected. $ ...
1
vote
1answer
84 views

create custom profile to run man using firejail

I'm trying to use firejail (version 0.9.58.2) for application sandboxing on my Debian Stable machine. From what I understand it's possible to create a custom configuration file for each application ...
-3
votes
1answer
77 views

Can anyone tell me the secret section of the manual for printf to appear [closed]

I am trying to view Section 6 named "Games and Screensavers" of the Manual. I've tried searching geeksforgeeks.org for the answer as my class suggested but I have not been able to figure it ...
1
vote
0answers
12 views

How to load test (emulate multiple users) a storage device with bonnie++?

I have just started using bonnie++ for testing the performance of storage devices. So far I have done that emulating a single user but it would be more realistic, or at least an interesting variation, ...
2
votes
1answer
44 views

How do you interpret this complicated man page syntax?

I am reading this on a man page: [-n number-to-stat[:max-size[:min-size][:num-directories[:chunk-size]]]] I interpret this as -n is optional but how do I specify the num-directories? Preferably I ...
1
vote
2answers
35 views

Where are manual locations for $configs?

In Ubuntu, when I run the command man rsyslog.conf, a manual page comes up. So I tried to find the location of this man page by whereis -m rsyslog.conf, but it didn't give me any results. Should I use ...
0
votes
2answers
82 views

what is sections in man pages in linux

I am quite new to Linux and I have started learning it. There is a topi in the book about the Man pages and there are sections in man pages. I am trying to understand it but it goes over my head. When ...
1
vote
1answer
90 views

Why can I get man pages for section 1, but not for section 2 and section 3 on a google cloud VM?

I'm running Centos7 on a google cloud VM. I've installed man but can get man pages only for section 1 of the manual. Even as root, I can only get man pages for section 1. For example with the section ...
2
votes
3answers
143 views

Why man -k or Apropos cannot find some pages while man -a can?

On my Pop!_OS 20.04 LTS system, if I use man -aw printf it will return: /usr/share/fish/man/man1/printf.1 /usr/share/man/man1/printf.1.gz /usr/share/man/man3/printf.3.gz But if I use man -k printf or ...
0
votes
1answer
38 views

How can i navigate directly towards a certain section of a man page just from using the terminal? [duplicate]

I want to know what the -fix--missing argument does in the command below For example: man apt-get update -fix--missing Now if i type the command as it is above, it will be the same thing as typing ...
0
votes
1answer
24 views

How to install cgroup man pages on Fedora?

I want to install cgroup man pages on Fedora, but I can't find any package that contains it.
0
votes
2answers
142 views

No manual entry for awk

How comes running man awk gives No manual entry for awk? I frankly have never personally installed Awk on my Archlinux systems, but I've just found on the current one, the last I installed, there's no ...
0
votes
1answer
86 views

What is the useage of the “compiled magic file” named on the “file” command man documentation?

Reading the documentation about the Linux file command. I have found this in the magic test description: Any file with some invariant identifier at a small fixed offset into the file can usually be ...
0
votes
0answers
58 views

Value is required after -x (--tabs)

I try to use "man command" but terminal gives me this output "Value is required after -x (--tabs)". What is this?
0
votes
1answer
39 views

man show pages in another languages only partially

I've faced a problem when trying to set French for a CentOS 8 system as my main language that some man pages are still in English. For instance, man man is in French, but man cp or man find are in ...
2
votes
2answers
132 views

How can I access a man page that is masked by another man page?

I installed a locally compiled version of OpenSSL and I forgot to skip the man pages. Now I can't access the man page for the OS's passwd(1). OS: Raspberry's Debian Stretch (with GUI) OpenSSL: 1.1.1g ...
0
votes
0answers
17 views

Permission denied Issue running the ^H command from within VisiData

I am running WSL on Windows and successfully installed VisiData, which is for viewing and manipulating csv data. (I am using Debian.) It is mostly working, except for the command ^H which is meant to ...
0
votes
1answer
39 views

Is there a way to prevent line breaks in man pages?

Title says it all. I'm just trying to avoid awkward line breaks between words. I read somewhere that in {,t,g}roff using ~ in place of a space should do it, but that doesn't seem to work for man pages ...
2
votes
2answers
38 views

CSS shine up of pod2html output

Let us just agree that the output of pod2html is boooring. Is there a tool that adds some CSS/HTML5 to make it a bit less 1990s?
-1
votes
1answer
48 views

Terminal isn't reset to previous state when quitting a man page or vim on XFCE [duplicate]

I use XFCE and its built-in terminal on FreeBSD. When I view a man page and then quit it - by pressing Q - the contents of the man page stay in the terminal. In a GNOME terminal that doesn't happen: ...
2
votes
1answer
279 views

Why is No manual entry for pthread_mutex_lockerror prompted?

I want to check the use of the pthread_mutex_lock function, so I execute the command man pthread_mutex_lock, the result appears No manual entry for pthread_mutex_lock. I checked the information on ...
0
votes
3answers
84 views

Linux Man Pages Folders Organization, Structure and Naming Convention [duplicate]

I have a question regarding linux man pages folder organization/structure as it appears in the output of the command below: [root@centos8 man]# pwd /usr/share/man [root@centos8 man]# ls -d ./man* ./...
0
votes
1answer
98 views

Render troff file on terminal like the man outputs on terminal

I was trying to render the troff file https://github.com/bit-team/backintime/blob/master/common/man/C/backintime-config.1 in terminal. How can I make the output (using cat or some other utility) look ...
0
votes
1answer
33 views

Make man highlight matches without jumping to the match

On reading a manpage with man, searching for a keyword /keyword or, for backwards search, ?keyword and hitting enter causes the text to be briskly repositioned at the first match. When I only want ...
0
votes
1answer
83 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 ...

1
2 3 4 5
11