Quick bash script for testing URL status code
Here is a quick script I have written in Bash to get URL status codes. An application in a container I have been working was failing to retrieve a file from somewhere on the internet. I needed to determine if the issue was with the container(possibly networking related) or the application. I threw together this little reusable script utilizing curl.