Hacker News new | ask | show | jobs
by drcongo 2515 days ago
Question: Write the command that you use to move into the parent directory of the current directory.

Your answer: ..

Correct answer: cd ..

Nope.

1 comments

`..` is not a command, it's just the name of the parent directory (unless you've defined it as an alias for `cd ..`)
I use zsh and fish, `..` takes you to the parent directory without typing `cd`