$manlookup

getcwd

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