Shhh.... Curl silently.
The curl
program generally displays a progress bar as its making a request and receiving a response. This can be awkward when you are trying to wrap curl
programmatically.
To shut off the progress bar use:
curl -sS http://www.google.com
The first option (-s) hides the progress bar and the errors. The second option (-S) will expose an error on fail if used in conjunction with -s.
Tweet