Created
July 14, 2018 17:51
-
-
Save khanhtc1202/78ba0eba16d60ed4f9a3a8a4fb4f3a76 to your computer and use it in GitHub Desktop.
Revisions
-
khanhtc1202 created this gist
Jul 14, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/bash # # khanhtc 08-11-2017 test -z "$1" && exit BASEURL="http://wttr.in/" method="curl -4" # Run command get weather $method $BASEURL$1