Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 334339 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


weather - command-line tool to obtain weather conditions and forecasts


weather [ options ] [ alias [ alias [...] ] ]


This utility is intended to provide quick access to current weather conditions and forecasts. Presently, it is capable of providing data for localities throughout the United States of America by retrieving and processing METAR data from the National Oceanic and Atmospheric Administration and forecasts from the National Weather Service. Behavior can be determined by command-line options and specification of zero or more aliases. Aliases are defined in weatherrc files, as a convenient means of grouping option combinations together using a short name. Specifying multiple aliases on the command line causes the utility to output data for each, as if it had been invoked multiple times. If no alias is specified, then an alias of "default" is used (assuming it has been defined) or the built-in default values are chosen (if it has not).


A summary of options is included below.
show program's version number and exit
-h, --help
show a help message and exit
-a, --alert
include local alert notices
alert notification types to display
alert URL (including %atype% and %zone%)
-c CITY, --city=CITY
the city name (ex: "Raleigh Durham")
maximum number of forecast lines to show
-f, --forecast
include a local forecast
forecast URL (including %city% and %st%)
the conditions headers to display
-i ID, --id=ID
the METAR station ID (ex: KRDU)
filter/convert for US/UK units
-l, --list
print a list of configured aliases
-m, --metric
filter/convert for metric units
METAR URL (including %id%)
-n, --no-conditions
disable output of current conditions (forces -f)
-o, --omit-forecast
omit the local forecast (cancels -f)
skip preambles and don't indent
-s ST, --st=ST
the state abbreviation (ex: NC)
-v, --verbose
show full decoded feeds (cancels -q)
-z ZONES, --zones=ZONES
alert zones (ex: nc/ncc183,nc/ncz041)


weather may additionally obtain configuration data from a system-wide configuration file, a per-user configuration file, and a local directory configuration file. The file format and configuration options are described in weatherrc(5). They are aggregated in the following order:
the system-wide configuration
the per-user configuration (can be used to override the above)
the local directory configuration (can be used to override the above)


View output for the defined default alias, or the built-in default values if there is no default alias defined in the configuration files.
weather -i kavl
Display current conditions at the KAVL METAR station.
weather -n -c asheville -s nc
See a forecast for the Asheville, NC area.
weather -fv gso
Get the full decoded METAR for the station associated with the gso alias, and the forecast data for the city/state associated with the gso alias, without filtering or fancy formatting.
weather home work
Show current conditions for both the home and work aliases in that order.




Utility and manual written by Jeremy Stanley <>.

P : À quoi ça sert, le rouge sur les ongles de pieds ?
M : À faire croire aux insectes attirés par l'odeur... que les doigts de pieds sont vénéneux et qu'il ne faut pas les butiner.