$manlookup

rand

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