Answer the question
In order to leave comments, you need to log in
How to make wget and multiple grep variants?
Good afternoon,
There is a command on the tower:
wget -T 2 -t 1 --no-dns-cache --max-redirect=0 --spider customurl 2>&1 | grep 'application/zip'
if [ $? = "0" ];
...
Answer the question
In order to leave comments, you need to log in
either split into 2 queries, or grep 'application/zip | application/x-gzip'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question