I'm trying to use cURL in a script and get it to not show the progress bar.
I've tried the -s
, -silent
, -S
, and -quiet
options, but none of them work.
Here's a typical command I've tried:
curl -s http://google.com > temp.html
I only get the progress bar when pushing it to a file, so curl -s http://google.com
doesn't have a progress bar, but curl -s http://google.com > temp.html
does.
curl -s http://google.com
is silent for me over here. Which version of curl and Linux are you on? – Hyperform7.22.0-3ubuntu4.11
(Ubuntu 12.04) and7.35.0-1ubuntu2.2
(Ubuntu 14.04). – Hanrahancurl
andlibcurl
use commanddpkg -l | grep curl
– Hanrahanman curl
for showing manual page of curl, then hit/progress
or/hide progress
orstop
or whatever for searching query to get what you want. Then you can reach an answer like chmac suggested. – Icelandic