curlでredirect先のurlを取得

  • Posted on: 2 January 2015
  • By: nayeli
$ curl -I -Ls -o /dev/null -w %{url_effective} http://google.com
http://www.google.co.jp/