$manlookup

basename

The Linux manual documents basename in 2 places. Pick the section you want.