how to go to previous directory in terminal code example
Example 1: how to step back in the path in temrinal
cd ~ or cd -
Example 2: terminal change directory
// change directory in terminal
cd folder_name/subfolder_name
// go up one directory level
cd ..
// back to previous directory
cd -
// return to home directory
cd