got to previous dir location ubuntu code example
Example 1: how to step back in the path in temrinal
cd ~ or cd -
Example 2: linux command to go to the parent directory
cd .. #go to the parent directory
cd ~ or cd -
cd .. #go to the parent directory