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