Created
April 17, 2024 19:55
-
-
Save rwp0/a00bec760bdfba438d9dc55d84a0b8ad to your computer and use it in GitHub Desktop.
For Loop in Bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for d in d1 d2 d3; do mkdir -v $d; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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