Created
September 14, 2022 02:56
-
-
Save kesavanm/116dbf0fa8a1c1d35b929dbb3d54e920 to your computer and use it in GitHub Desktop.
Command line tool to check USCIS status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# curl -s "https://egov.uscis.gov/casestatus/mycasestatus.do" -X POST --data "changeLocale=&appReceiptNum=WAC2290072020&initCaseSearch=CHECK+STATUS"| grep -A1 'Your Current Status'|tail -1 | |
curl -s "https://egov.uscis.gov/casestatus/mycasestatus.do" -X POST --data "changeLocale=&appReceiptNum=WAC2290072020&initCaseSearch=CHECK+STATUS" | tee >(grep -oh '[On|As].*Number \w.*[0-9]' 1>&2) |grep -C1 'Your Current Status'|tail -1|tr -d "\t" |tr -s " " | |
echo | |
curl -s "https://egov.uscis.gov/casestatus/mycasestatus.do" -X POST --data "changeLocale=&appReceiptNum=IOE8718023615&initCaseSearch=CHECK+STATUS" | tee >(grep -oh '[On|As].*Number \w.*[0-9]' 1>&2) |grep -C1 'Your Current Status'|tail -1|tr -d "\t" |tr -s " " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outcome:
As of June 1, 2022, we are actively reviewing your Form I-129, Petition for a Nonimmigrant Worker, Receipt Number IOE8718023615 Case Is Being Actively Reviewed By USCIS