How to create directories recursively using mkdir

I need to be able to create directories recursively.
Suppose I have the following directory structure that needs to be created /release/projecta/backup_011009/uk

The directory /release/projecta exists, but the path backup_011009/uk does nto exist.

How can I use mkdir to recursively create  all directories?

Thanks in advance
singh101Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sentnerConnect With a Mentor Commented:
mkdir -p /release/projecta/backup_011009/uk
0
 
singh101Author Commented:
Thanks for the quick response
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.