How can I prevent `curl` from printing a table with progress information?
From 16.04 command line:
$ ssh "curl " % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0{"temp":68.00,"tmode":2,"fmode":0,"override":0,"hold":0,"t_cool":82.00,"program_mode":1,"tstate":0,"fstate":0,"time":{"day":5,"hour":1100 164 0 164 0 0 101 0 --:--:-- 0:00:01 --:--:-- 101Why is the speed table returned and how can this be surpressed?
21 Answer
The Progress Meter can be silenced with the -s / --silent option:
ssh "curl -s "
# or
ssh "curl --silent "