Avatar of sunhux
sunhux

asked on 

Testing site for http code 200 or curl equiv for Windows

I'm trying to do the following Unix equiv in Windows :

*Probe for active domain/website (usually HTTP CODE 200 OK, something even as
  HTTP CODE 301 Redirects)
for url in $(cat list1.txt) ; do curl --max-time 6 -sL -w "%{http_code} %{url_effective}\\n" "$url" -o /dev/null; done > list2.txt
grep "^200" list2.txt > list3.txt
sed 's,200 ,,' list3.txt > list4.txt


Any free tools can do the above?   Or any Windows command line tool equiv of curl?
OS SecurityScripting LanguagesUnix OSLinux DistributionsWeb Servers

Avatar of undefined
Last Comment
David Johnson, CD
SOLUTION
Avatar of MidnightOne
MidnightOne
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Unix OS
Unix OS

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo