Fixing the command “man” in OSX
The command ‘man’ in terminal has an annoying feature: it clears the screen on exit. So if you find a command line switch you want to try, when you exit man the detail all disappears.
To correct this, change the following line in /private/etc/man.conf:
PAGER /usr/bin/less -is
PAGER /usr/bin/less -isX
2 thoughts on “Fixing the command “man” in OSX”
Now that’s cool! Thanks Alex.
Read any UNIX man page in OS X as a pdf in preview
man -t | open -f -a preview
Comments are closed.