on a linux machine running CENTOS v 7.8.2003 I am in a directory Neutrinos
I now do
mkdir /pionloop/
this works. I then go to into this new directory pionloop
and do
mkdir /E_0.3
and this works as well. I thus have as a result a directory Neutrinos/pionloop/E_0.3
.
Now, starting in Neutrinos
I want to do this in one command and therefore do
mkdir /pionloop/E_0.3
and get:
`mkdir: cannot create directory ‘/pionloop/E_3.0’: No such file or directory
What is going wrong here??
mkdir /pionloop/
you'll get/pionloop
, not./pionloop
. – nohillside May 24 '20 at 16:42mkdir /E_0.3
would not create a subdirectory of/pionloop
. And neither of them would be located inNeutrinos
. – Kusalananda May 24 '20 at 16:44Neutrinos/pionloop/E_0.3
in the current directory, but this is never actually stated, and you confuse matters by showing commands for creating directories in the root directory. – Kusalananda May 24 '20 at 17:30