cat /countCodes | awk ' /'$1'/ {print $1} '
742401 200
9553 404
8594 304
8490 301
403 499
311 302
10 500
7 408
4 503
3 400
3206 access_postdata.log
grep -oP "\s*\K.*(?=500)" /countCodes || echo "0"
cat /countCodes | awk ' /'$1'/ {print $1} ' || echo "0"