how to get to home directory mac terminal code example Example: how to change directory in terminal mac cd <FolderName>