how to go back to previous directory in cmd in linux code example Example: how to step back in the path in temrinal cd ~ or cd -