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 --:--:--   101

Why is the speed table returned and how can this be surpressed?

2

1 Answer

The Progress Meter can be silenced with the -s / --silent option:

ssh  "curl -s "
# or
ssh  "curl --silent "

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest