ubuntu move previous directory 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