NSAS Wiki

Network System Access Solutions

User Tools

Site Tools


Sidebar

Contact

linux:curl

Post data with a http request

curl -d "a1=v1&a2=v2" url

Check all Links in a Webpage

SITE=www.nsas.de ; for URL in $(lynx -dump ${SITE} | awk '/http/{print $2}' | egrep "^https{0,1}"); do echo -ne ${URL} ; curl -silent -ILl ${URL} | head -n1 | awk '{print "\t",$2,$3}' ; done
linux/curl.txt · Last modified: 2013/05/23 11:36 (external edit)