bash/curl check