Create multiple folders using Bash
New Course Coming Soon:
Get Really Good at Git
I had the need to create 30 folders from 1 to 30 and I got tired making them manually after the first 4.
So I looked on Google and found this Bash one-liner:
mkdir {1..30}
This also works on Zsh but not on Fish (the shell I use)
→ Get my Linux Command Line Handbook
Here is how can I help you:
- COURSES where I teach everything I know
- CODING BOOTCAMP cohort course - next edition in 2025
- BOOKS 16 coding ebooks you can download for free on JS Python C PHP and lots more
- Follow me on X