On ubuntu is there a way to create a directory path in one statement?
Lets say I have the dir
/tmp/foo with no subdirectories, and I want to create
mkdir /tmp/foo/bar/baz fails with
mkdir: cannot create directory /tmp/foo/bar/baz: No such file or directory
Is there a statement that can do this trick?