linux change directory parent code example Example: linux command to go to the parent directory cd .. #go to the parent directory