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