InfoHeap
Tech tutorials, tips, tools and more
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 – follow redirects

By admin on Dec 7, 2015

Curl is fairly handy command line utility to fetch a web page. It can also be used to automate various tasks in bash shell scripts. By default curl does not follow redirect. Here is how you can use curl to follow redirect.

$ curl -L URL

Curl – follow redirect in silent mode

Curl is used often in silent mode to get code from a web page and then execute it. Here is how you can use -L flag with curl in silent mode to install IE virtual images on VirtualBox.

$ curl -L -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash

Suggested posts:

  1. Run Internet Explorer (IE) on Mac using VirtualBox and ievms script
  2. How to run windows 10 on Mac using VirtualBox
  3. Curl – how to hide progress bar
  4. curl – some handy commands
  5. Curl with download/upload rate limit – code snippets
  6. Fetch wordpress rss feed as FeedBurner user agent on command line
  7. Meta robot noindex, follow for wordpress tags and category pages
  8. Mac brew (homebrew) – quick start guide
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Curl, Devops, Linux, Linux/Unix Command Line, Mac, Tutorials, Ubuntu Linux

Follow InfoHeap

facebook
twitter
googleplus
  • Browse site
  • Article Topics
  • Article archives
  • Recent Articles
  • Contact Us
  • Omoney
Popular Topics: AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | 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

Copyright © 2022 InfoHeap.

Powered by WordPress