Linux Documentation – Fix Missing Man Pages of Some Commands

documentationmanshell-builtin

Typing man alias gives me

No manual entry for alias

The same thing goes for export and eval. At first I thought it only happens to shell built-in commands but man echo gives me the man page.

Except for googling, is there a way that I can view the documentation of those commands? If not, is there a way to "install" those missing man pages?

Best Answer

You probably have the man page for echo because most systems have an echo binary in /bin, even though most shells provide a built-in anyway; you're seeing the man page for that binary. The man pages for all the other commands you're missing are in the POSIX Programmer's Manual (man section 1P). How to install it will depend on your distro; on Gentoo they're in the sys-apps/man-pages-posix package

Related Question