How Do You Create Multiple Directories in Unix?
Contents to Create Multiple Directories in Unix or Linux Using the Mkdir Command Pass the Names of Directories to Be Created to the Mkdir Command. the Names of...
Contents
To create multiple directories in UNIX or Linux using the mkdir command pass the names of directories to be created to the mkdir command. The names of directories should be separated by spaces.
How do you create multiple folders in Unix?
You can create directories one by one with mkdir, but this can be time-consuming. To avoid that, you can run a single mkdir command to create multiple directories at once. To do so, use the curly brackets {} with mkdir and state the directory names, separated by a comma.
Must Read
How do you create multiple sub directories in one command in Linux?
How to Create Multiple Subdirectories with One Linux Command
- If you want to create a directory containing several subdirectories, or a directory tree, using the command line in Linux, generally you have to use the mkdir command several times. …
- This can all be combined into one command, and we’ll show you how.
11 окт. 2016 г.