Created
March 31, 2021 16:40
-
-
Save WFT/b61ffec5c28d52f53078ba07440ee1cd to your computer and use it in GitHub Desktop.
Search osstatus.com from command line
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 | |
if [[ $# -eq 1 ]]; then | |
open "https://osstatus.com/search/results?search=$1" | |
else | |
echo "Usage: osstatus NUMBER" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment