Can I create multiple directories at once?

Yes, you can create multiple directories at once using the mkdir command by listing the directory names separated by spaces. Here's how you can do it:

mkdir ~/project/digital_garden/notes ~/project/digital_garden/projects ~/project/digital_garden/resources

This command will create the notes, projects, and resources directories all at once inside the digital_garden directory.

Summary

  • Use mkdir followed by the paths of the directories you want to create, separated by spaces.
  • This method is efficient for setting up multiple directories quickly.

If you have any more questions or need further clarification, feel free to ask!

0 Comments

no data
Be the first to share your comment!