Que tiempo hace??? !! en consola!!
Publicado por barnarasta (42 intervenciones) el 21/06/2012 01:25:13
Trasteando por gloglel y buscando soluciones a mil dudas de Debian me encontre de cara esta curiosa historia que seguro a mas de un amante de la consola le encantara.
Tenemos que instalar :
# sudo aptitude install weather-utils
Localizar el codigo de nuestra ciudad --> http://www.nws.noaa.gov/tg/siteloc.shtml
utilizando la ventana inferior que pone "Display All Stations In a Country"
Barcelona / Aeropuerto (08181, LEBL) ------> codigo de la ciudad es LEBL
y ejecutamos pasandole el parametro de la ciudad/pais.
#weather -v -i LEBL
y obtenemos:
Barcelona / Aeropuerto, Spain (LEBL) 41-17N 002-04E 6M
Jun 20, 2012 - 06:30 PM EDT / 2012.06.20 2230 UTC
Wind: from the SW (220 degrees) at 8 MPH (7 KT):0
Visibility: greater than 7 mile(s):0
Sky conditions: mostly clear
Temperature: 73 F (23 C)
Dew Point: 68 F (20 C)
Relative Humidity: 83%
Pressure (altimeter): 29.88 in. Hg (1012 hPa)
ob: LEBL 202230Z 22007KT 9999 FEW025 23/20 Q1012 NOSIG
cycle: 22
Bonita utilidad para adornar aplicativos de xdialog, dialog ........................
# weather -iLEBL | grep Temperature | awk {'print $1$4$5'}
Tenemos que instalar :
# sudo aptitude install weather-utils
Localizar el codigo de nuestra ciudad --> http://www.nws.noaa.gov/tg/siteloc.shtml
utilizando la ventana inferior que pone "Display All Stations In a Country"
Barcelona / Aeropuerto (08181, LEBL) ------> codigo de la ciudad es LEBL
y ejecutamos pasandole el parametro de la ciudad/pais.
#weather -v -i LEBL
y obtenemos:
Barcelona / Aeropuerto, Spain (LEBL) 41-17N 002-04E 6M
Jun 20, 2012 - 06:30 PM EDT / 2012.06.20 2230 UTC
Wind: from the SW (220 degrees) at 8 MPH (7 KT):0
Visibility: greater than 7 mile(s):0
Sky conditions: mostly clear
Temperature: 73 F (23 C)
Dew Point: 68 F (20 C)
Relative Humidity: 83%
Pressure (altimeter): 29.88 in. Hg (1012 hPa)
ob: LEBL 202230Z 22007KT 9999 FEW025 23/20 Q1012 NOSIG
cycle: 22
Bonita utilidad para adornar aplicativos de xdialog, dialog ........................
# weather -iLEBL | grep Temperature | awk {'print $1$4$5'}
Valora esta pregunta


0