The correct syntax is:
mkdir -p /parent/folder_test.
If parent does not already exist it will be created. You can also use relative paths i.e.
mkdir -p parent/folder_test
If your current working directory is your home (/home/username) then the above command would create a directory tree /home/username/parent/folder_test
Last edited by michaelk; 07-30-2015 at 08:44 AM.
|