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...
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 --:--:-- 101
Why is the speed table returned and how can this be surpressed?
1 Answer
The Progress Meter can be silenced with the -s / --silent option:
ssh "curl -s "
# or
ssh "curl --silent "