-2

please include the command that would be used in LINUX

2 Answers2

1

You can move to the Documents folder first then create a directory:

cd ~/Documents
mkdir mynewdirectory

or you can do it all with absolute paths from wherever you are in your system:

mkdir ~/Documents/mymnewdirectory

(The ~ is a shortcut for your home directory, in which your Documents directory resides).

muru
  • 207,228
Will
  • 2,483
  • 5
  • 20
  • 34
0
mkdir -p ~/Documents/newfolder/name/that/can/be/as/long/as/you/want

the -p flag lets you make multiple new directories all at once

muru
  • 207,228