os
|-- linux
| |-- debian
| |-- fedora
| `-- ubuntu
`-- unix
|-- aix
|-- bsd
`-- mac
The command to create the above mentioned directory structure as follows.
$ mkdir -p os/{linux/{debian,fedora,ubuntu},unix/{aix,bsd,mac}}
os
|-- linux
| |-- debian
| |-- fedora
| `-- ubuntu
`-- unix
|-- aix
|-- bsd
`-- mac
$ mkdir -p os/{linux/{debian,fedora,ubuntu},unix/{aix,bsd,mac}}
1 comment:
Your example uses shell specific syntax. It should be mentioned, imo.
Cool example though :)
Post a Comment