macgo up one directory terminal code example
Example 1: how to move up in terminal
cd .. # one up
cd ../ # two up
cd # home directory
cd / # root directory
cd "yaya-13" # use quotes if the file name contains punctuation or spaces
Example 2: how to step back in the path in temrinal
cd ~ or cd -