please include the command that would be used in LINUX
Asked
Active
Viewed 106 times
-2
-
Not sure if this is a homework question but I've given you the benefit of the doubt and answered it! – Will Sep 01 '22 at 21:55
-
Your question seems to be implicitly assuming that the Documents folder is in your home folder (which it needn't be - you can configure the location using XDG directory settings). – muru Sep 02 '22 at 02:38
-
1Does this answer your question? [How do I cd into a directory in the home folder?](https://askubuntu.com/questions/262674/) and [How do I make a directory?](https://askubuntu.com/q/725882/) – karel Sep 03 '22 at 08:48
2 Answers
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).