1 2 3 4 5 6 7 8 9
#!/bin/sh # Make sure MANPATH is complete . /etc/profile . /etc/profile.d/* 2>/dev/null # Update the "whatis" database /usr/sbin/makewhatis -u -w