I'm searching for just one command — nothing with && or | — that creates a directory and then immediately changes your current directory to the newly-created directory. (This is a question someone got for his exams of "linux-usage", he made a new command that did that, but that didn't give him the points.) This is on a debian server if that matters.
&&
|
I believe you are looking for this:
mkdir project1 && cd "$_"
2.1m questions
2.1m answers
60 comments
57.0k users