$ command line ruby cheat sheets
Cheat Sheet Title: [ no_spaces_alphanumeric_only ]
Cheat Sheet:Command line internet/network loader tool and ajax test tool. Read the contents of a URL, dump the results to the stdout. Basic USE: curl [options] [URL...] To see if a site is alive, just get the headers: curl --head www.yahoo.com A live response returns status, cookies, content length, etc. To send custom headers (anything you want!) use: curl --header "User-Agent: something-special" google.com To return the entire page: curl www.google.com The view the man page: curl --manual | less To retrieve data with POST: curl -d "name=dpw" www.google.com Related programs: wget
Your cheat sheet will be editable (fixable) by anyone. Each cheat sheet is essentially a wiki page. It may also be used by millions of people for reference purposes from the comfort of their command line. If this is okay with you, please save.
Advertisement