how to go back to the previous directory in terminal code example
Example 1: how to step back in the path in temrinal
cd ~ or cd -
Example 2: linux command to go to the previous directory
cd - #go to the previous directory
cd ~ or cd -
cd - #go to the previous directory