how to change directory in cmd on mac code example Example: how to change directory in terminal mac cd <FolderName>