Skip to content

Instantly share code, notes, and snippets.

@rwp0
Created April 17, 2024 19:55
Show Gist options
  • Save rwp0/a00bec760bdfba438d9dc55d84a0b8ad to your computer and use it in GitHub Desktop.
Save rwp0/a00bec760bdfba438d9dc55d84a0b8ad to your computer and use it in GitHub Desktop.
For Loop in Bash
for d in d1 d2 d3; do mkdir -v $d; done
for d in d1 d2 d3
do
mkdir -v $d
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment