Created
June 12, 2022 07:39
-
-
Save manojkarthick/760d5673b06606efb7ebe639cddf6d13 to your computer and use it in GitHub Desktop.
Get Jokes
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
#!/usr/bin/env bash | |
for i in {1..10} | |
do | |
curl -H "Accept: text/plain" https://icanhazdadjoke.com/ >> jokes.txt | |
echo -e "\n" >> jokes.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment