create new directory cmd mac code example Example: make directory mac mkdir nameFolder # eg mkdir projects