8Oct/130
using python on the command line instead of bash
because the syntax for for loops in bash is silly and I can never remember it:
python -c "import os; [os.system('wget MY_URL' + str(i) + '.html') for i in range(10)]"
because the syntax for for loops in bash is silly and I can never remember it:
python -c "import os; [os.system('wget MY_URL' + str(i) + '.html') for i in range(10)]"
Leave a comment
You must be logged in to post a comment.