how to create directory in mac using terminal code example Example: make directory mac mkdir nameFolder # eg mkdir projects