Skip to content

Just because I want to check the temperature from the command line

Notifications You must be signed in to change notification settings

petriuslima/check-temperature-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

temperature

Just because I want to check the temperature from the command line

Download and Execute

To download the file open de command and and type the following command:

wget https://raw.githubusercontent.com/petriuslima/temperature/master/temperature -O /usr/bin/temperature

or

curl https://raw.githubusercontent.com/petriuslima/temperature/master/temperature -o /usr/bin/temperature

and give permission to execute the script with chmod +x /usr/bin/temperature

Now, to check the temperature type temperature {cityname} on the command line.

The default country is Brazil and if you want to check the temperature in a city from another country, just type the country code (ISO 3166) after the cityname, like: temperature {cityname} {countrycode}

About

Just because I want to check the temperature from the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages