bash: man: command not found

Written by Yujin Boby

Edit in WordPress

When running man command on a debian server, i get error

root@lab:~# man sftp
-bash: man: command not found
root@lab:~#

This is because man-db package not installed on the server. To fix, install man-db package with

apt install man-db

See Errors