Created
May 24, 2022 16:51
-
-
Save sibil/e4be6c1d042595d57ed572d0f34cf535 to your computer and use it in GitHub Desktop.
bash script to check if directories(1 to 100) exist
This file contains 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 (( i = 1; i < 100; i++ )) | |
do | |
[ -d $i ] || echo $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment