2
votes
2answers
86 views

Tell wget not to spider URL matching a pattern?

I want to test how my site would be behave when being spidered. However, I want to exclude all URLs containing the word "page". I tried: $ wget -r -R "*page*" --spider --no-check-certificate -w 1 ...
1
vote
2answers
160 views

Resolve filename from a remote URL without downloading a file

I am creating a script, which should download latest version of an application from repository and deploy the app. The main issue: there are several repositories and I need to check, which of them ...
1
vote
2answers
892 views

Type URL and show HTTP status

I want to make a shell script where I type an url and it returns me the status code.So far I've tested wget is there any other cause it has the tendency to save whatever you run. Then I tried to some ...
0
votes
1answer
522 views

Retrieve URL content and follow redirects

I want to visit an URL in CentOS and then automatically follow the redirects. So, for example: Visit http://domain.com This will redirect my by a `header()` to another webpage, so automatically ...