28
rated 0 times
[
28]
[
0]
/ answers: 1 / hits: 117568
/ 2 Years ago, fri, february 25, 2022, 11:46:32
I'm seeking a way to create directory and change my present working directory to newly created directory just by using a single command. How can I do this?
i.e Instead of doing
user@Computer:~$ mkdir NewDirectory
user@Computer:~$ cd NewDirectory
user@Computer:~/NewDirectory$
I want to do
user@computer:~$ **command** NewDirectory
user@Computer:~/NewDirectory$
What can the command be?
More From » command-line