InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Curl

  • Curl handy commands
  • Curl - follow redirects
  • Curl - hide progress bar
  • Curl with download/upload rate limit
 
  • Home
  • > Tutorials
  • > Linux/Unix Command Line
  • > Curl

Curl – how to hide progress bar

By admin on Dec 14, 2015

Curl by default shows progress bar. To hide it -s option can be used. We can also add -S to show errors when -s option is used.

Curl with progress bar

$ curl https://dev.infoheap.com/ > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 37441    0 37441    0     0  32436      0 --:--:--  0:00:01 --:--:-- 32444

Curl without progress bar (silent mode)

$ curl -sS https://dev.infoheap.com/ > /dev/null

This approach may be useful when fetching outcome of curl to a bash variable.

Suggested posts:

  1. Linux/Unix – find inode number of a file
  2. PHP beginning and end of string regex examples
  3. Alexa rank – how reliable is it?
  4. Linux – find top directories by used disk size (excluding size of subdirectories)
  5. PhantomJS – how to skip Google analytics code when fetching a web page
  6. AngularJS format date using date filter
  7. Mac – how to change desktop icons size
  8. minikube kubernetes – how to access specific pod IP endpoint using curl
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Curl, Linux, Linux/Unix Command Line, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress