Tag Archives: mkdir

mkdir no such file or directory in linux/unix

mkdir no such file or directory – This error is reported because you created a multi-level directory and the intermediate directory does not exist. We can use mkdir -p option to solve. Continue reading

Posted in Internet Technology | Tagged | Comments Off on mkdir no such file or directory in linux/unix

mkdir if not exists in linux/unix

mkdir creates a directory if it does not exist, we can use the mkdir -p option. syntax: mkdir -p foo/bar/baz, will create directories foo, foo/bar, and foo/bar/baz if they don’t exist. Continue reading

Posted in Internet Technology | Tagged , | 1 Comment

mkdir command tutorial in linux/unix with examples and use cases

linux mkdir command – make directories Linux mkdir command is used to create directories. If the directory does not exist, it is created. Syntax Options -m, –mode=MODE set file mode (as in chmod), not a=rwx – umask -p, –parents no … Continue reading

Posted in File & Directory | Tagged , | Comments Off on mkdir command tutorial in linux/unix with examples and use cases