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 follow this redirect. And this page will also redirect me. Save the contents on the `landing` page.
How do I accomplish this?