Questions tagged [man]
The man tag has no usage guidance.
21
questions
1
vote
1
answer
48
views
macOS - view and read the Purpose and Description for macOS each process
Many times I am able to read the Purpose and Description for each macOS process by simply execute the man command. Example man rapportd or man WiFiAgent etc. etc.
But other times, the man command ...
1
vote
0
answers
83
views
When viewing man pages in Terminal, how to get correct man page order priority? `man` shows the correct manpage but Terminal shows an older one
I love using the Terminal's man page viewer. You can right click on anything and open its corresponding man page. Or just run open x-man-page://1/<man page>
However, I'm having trouble getting ...
0
votes
1
answer
79
views
Install linux manpages on macOS
I have to regularly work with Linux machines that don't have man installed (don't ask me why). Is it possible to install Linux man pages on macOS? I'm thinking about help for commands like ip or ipset,...
0
votes
1
answer
37
views
Man page renders with blanks on Mac OS Catalina 10.15.7
I'm using Mac OS Catalina 10.15.7
Bash GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
My man pages blank all the options of a command like this:
0
votes
1
answer
122
views
Where is renameat2 on Catalina?
https://www.unix.com/man-page/osx/2/renameat/
I see osx has renameat2 as shown here. But I don't find it on Catalina. Could anybody where I can find the manpage of renameat2?
EDIT: man renameat gives ...
2
votes
1
answer
74
views
Third party man pages in touch bar
The yellow man feature of the touch bar does not seem to use manpath,
for example /opt/homebrew/share/man/ is ignored. How do you configure this?
1
vote
0
answers
79
views
Some man pages missing from apropos / whatis database
I used apropos and whatis to look for some command, but didn't find what I needed. But there is actually a command that does what I wanted (it's sharing). It does have a man page (/usr/share/man/man8/...
1
vote
1
answer
149
views
How do I update java manual pages with Homebrew?
I am using Homebrew to install AdoptOpenJDK 11. I want to see the documentation via the manual pages.
Symptoms
When I run man java, I see documentation from 2004. At the bottom:
SEE ALSO
javac(...
2
votes
1
answer
413
views
How to open the Apple URL protocol x-man-page:// in iTerm and not Terminal (default)
Apple has some custom URLs defined and one of them is x-man-page. If you open a particular man page with it, it displays it in a nice yellow window (a provided profile for Terminal) with black text.
$...
0
votes
0
answers
130
views
man -k generates strange results - makewhatis is looking at files? [duplicate]
When I run man -k (apropos), makewhatis gives this weird output:
...
ps2pdfwr(1) - Convert PostScript to PDF without specifying CompatibilityLevel, using ghostscript
roff2pdf(1) ...
5
votes
2
answers
2k
views
Are my macOS man pages outdated?
I run macOS 10.14.6, "Mojave". I've been studying man screen to make some changes to its default behavior. The 2nd & 4th paragraphs under CUSTOMIZATION read:
When screen is invoked, it executes ...
2
votes
0
answers
598
views
macOS Terminal not using correct manpath
How to set $MANPATH or manpath for the macOS Terminal Help menu command: Open man Page for Selection?
Having recently done a clean install of macOS Mojave (10.14.6), I am trying to get my macOS ...
3
votes
1
answer
189
views
man -k and apropos cannot find pages in section 3 in Catalina
For example, run apropos printf:
Printf(3o) - Formatted output functions
Stdlib.Printf(3o) - no description
gprintf(1), printf(1) - format and print data
format(ntcl) ...
22
votes
8
answers
4k
views
Errors from whatis command. Unable to rebuild database with makewhatis?
How can I update the whatis database?
$ sudo /usr/libexec/makewhatis
Password:
makewhatis: /usr/share/man/whatis.tmp: Read-only file system
I believe being able to update this database will solve ...
1
vote
2
answers
103
views
"man say" in macOS fails
macOS 10.14.4
If I type man say at the command line, I get the error: man: no manual page say.
I've checked and the file say.1 is present in the folder /usr/share/man/man1. Why can man not find it?
0
votes
2
answers
554
views
Where is the manpage of otools gcc etc. on macOS?
Many tools related with binaries, such otools, gcc, don't have manpages on my macOS (10.13.6). Is there a way to install the manpages for them?
22
votes
6
answers
4k
views
Copy all the text of an entire `man` page from Terminal.app
I am reading a very long man page (man ssh). I want to save all of that text for more convenient reading in a text-editor.
Unfortunately, choosing either of :
Edit → Select All → Copy
Shell → Export ...
2
votes
2
answers
475
views
Are man page sections 2 and 3 available in macOS Mojave?
Are the system calls (section 2) and library class (section 3) of the man pages available in macOS Mojave? I recently upgraded from an ancient MacBook Pro running OS X El Capitan and they aren't ...
14
votes
1
answer
1k
views
Why aren't the section titles of man pages completely greppable?
This was tested in El Capitan and in a colleague's High Sierra, in the standard Terminal (bash).
user@hostname ~ $ man ls | grep "BU"
BUGS
user@hostname ~ $ man ls | grep "BUG"
user@hostname ~ $
...
2
votes
1
answer
70
views
Exit Man opened from the touch bar
So in terminal there is a fun feature now, as you can open a man page of the current command by using the touchbar. I failed to close the man page though. The usual q did nothing as well as esc or ...
0
votes
1
answer
101
views
Wrong indentation and spacing for manual pages in terminal
I am wondering why the manual pages in the Terminal app look like shite on my Mac running macOS Sierra 10.12.5?
If I run the command man grep for instance I get a crappy layout of text in the ...