Skip to main content

Questions tagged [man]

'man' is a command for accessing documentation on Linux and other Unix and Unix-like systems.

0 votes
0 answers
44 views

Linux: test expression

How to use test to test a expression like this: if { [ $month -eq 03 ] || [ $month -eq 10 ]; } && [ $weekday = "So" ] && [ $day -gt 24 ] I need to test the whole if ...
6 votes
4 answers
5k views

man page command: man 3 vs. man

I'm wondering what's the difference between man 3 command vs man command? I read in Wikipedia that man 3 is used in Linux in section 3 of the man pages. And section 3 refers to Library functions, ...
0 votes
0 answers
16 views

manpath abnormal: `man -k .` show duplication and partially missing in macOS

I got abnormal manpath in man -k . or apropos .: duplicate shows: $ man -k . | grep -w apropos man(1), apropos(1), whatis(1) - display online manual documentation pages man(1), apropos(1), whatis(1) -...
4 votes
1 answer
5k views

What does the -R flag do for chflags?

I'm not clear on exactly what the -R flag does for chflags. I was wondering if someone might be able to help me. The man page says this: Recurse: Change the file flags of file hierarchies rooted in ...
1 vote
1 answer
57 views

Is there a `man/` equivalent of $PATH (which is for extra `bin/` directories)?

When I experimentally install some new software, I don't go through the extra effort of putting all assets in the right places like /usr/local/man. Occasionally, I'd like to have manpage support for ...
3 votes
2 answers
2k views

"WARNING: terminal is not fully functional" when using "man" as root

I know that this question has been posted a zillion times, but none of the answers I could find have solved it for me. I have a root shell given by sudo bash. When I try to use man, I have this ...
0 votes
1 answer
66 views

Where is there a manual page for Command Line Editing shortcuts?

There are times when I would like to respond to an already existing post, here specifically, because I want to figure out the source that these people are using for the answers. The answers in that ...
2 votes
2 answers
2k views

Running `whatis cd` always returns "nothing appropriate" on Ubuntu 18.04

I was just playing around with the whatis command. For some reason, whenever I run whatis cd, I get cd: nothing appropriate. What does this mean? Why is this? It seems there is no man entry for cd ...
2 votes
2 answers
3k views

How to parse man pages in Windows?

Here is a raw man page. Is there a way I can parse it under Windows to make it more readable?
2 votes
2 answers
434 views

Linux “man” pages appear as gibberish in CentOS

On my CentOS 6 box, all the man pages and some tools that support --help show gibberish. For example, if I type: man man I get this: ^HZ[wã¸~ǯÀjZÊèvg:=3ÌlËm’¾­¤ÞÎl<;HHBL´Z}òãSe{l?´)B¡ê«¯ ...
0 votes
1 answer
144 views

How do I fix "E302: Could not rename swap file" when using neovim as my MANPAGER with a non-default swap directory?

I'd like to use neovim to view man pages. To accomplish this, I have the following set in my .bashrc file: export MANPAGER='nvim +Man!' On my MacOS system this gives me no problems. But on my Linux ...
29 votes
8 answers
5k views

How to jump to a particular flag in a Unix manpage?

When reading a Unix manpage in the terminal, how can I jump easily to the description of a particular flag? For instance, I need to know the meaning of the -o flag for mount. I run man mount and want ...
1 vote
0 answers
309 views

MSYS2 man: can't open the manpath configuration file /etc/man_db.conf

I'm on Windows 10 but using bash and MSYS2 (mingw64). I just installed man using MSYS2. The problem is when typing a command like man echo (can be any command; it doesn't have to be echo), I get this ...
1 vote
1 answer
898 views

Update issue with mandb and makewhatis

When I change a given manpage, apropos and whatis do only reflect these changes when I perform the following steps: store a copy of the manpage elsewhere and delete it in /usr/local/man/man1 run ...
22 votes
4 answers
5k views

Searching for a specific option in a man page

I often find myself man'ing a command just to learn about one specific option. Most of the time I can search to the option just fine, unless it's something like ffmpeg or gcc where I have to step ...

15 30 50 per page
1
2 3 4 5
8