Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active December 18, 2015 11:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kjunichi/5778621 to your computer and use it in GitHub Desktop.
Curl(最近出席した社内勉強会では「カール」と発音していた俺の脳内では「しーゆーあーるえる」だったがへぇーって感じ)

curlコマンドのメモ

URL中のファイル名で落とす

# curl -O http://foo/bar.txt
# cat bar.txt

Oは大文字のオー

Bit.lyなどのリダイレクトに従い、DLするには

# curl -L http://bit.ly/fooBar -o foo.jpg

関連Gist

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment