<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[终端中查询天气预报]]></title><description><![CDATA[<p dir="auto">终端中查询天气预报</p>
<p dir="auto">在终端中。只需要使用 curl <a href="http://wttr.in" target="_blank" rel="noopener noreferrer nofollow ugc">wttr.in</a> 就能显示当前地区的天气状态，还顺便做到了美观，挺不错的。</p>
<pre><code>[root@db ~]# curl wttr.in
Weather report: Beijing, China

     \  /       Partly cloudy
   _ /"".-.     17 °C          
     \_(   ).   ↙ 5 km/h       
     /(___(__)  6 km           
                0.0 mm         
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤  Wed 15 Oct ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly Cloudy  │    \  /       Partly Cloudy  │     \   /     Clear          │     \   /     Clear          │
│  _ /"".-.     16 °C          │  _ /"".-.     19 °C          │      .-.      19 °C          │      .-.      18 °C          │
│    \_(   ).   ↙ 6-9 km/h     │    \_(   ).   ↙ 5 km/h       │   ― (   ) ―   ← 8-11 km/h    │   ― (   ) ―   ← 6-10 km/h    │
│    /(___(__)  10 km          │    /(___(__)  10 km          │      `-’      10 km          │      `-’      10 km          │
│               0.0 mm | 0%    │               0.0 mm | 0%    │     /   \     0.0 mm | 0%    │     /   \     0.0 mm | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤  Thu 16 Oct ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│      .-.      Light drizzle  │      .-.      Light drizzle  │  _`/"".-.     Patchy rain ne…│      .-.      Light drizzle  │
│     (   ).    13 °C          │     (   ).    13 °C          │   ,\_(   ).   13 °C          │     (   ).    13 °C          │
│    (___(__)   ↖ 9-12 km/h    │    (___(__)   ↖ 7-9 km/h     │    /(___(__)  ↙ 3-4 km/h     │    (___(__)   ↗ 1 km/h       │
│     ‘ ‘ ‘ ‘   2 km           │     ‘ ‘ ‘ ‘   2 km           │      ‘ ‘ ‘ ‘  10 km          │     ‘ ‘ ‘ ‘   2 km           │
│    ‘ ‘ ‘ ‘    0.3 mm | 100%  │    ‘ ‘ ‘ ‘    0.2 mm | 100%  │     ‘ ‘ ‘ ‘   0.0 mm | 68%   │    ‘ ‘ ‘ ‘    0.3 mm | 100%  │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤  Fri 17 Oct ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│      .-.      Light drizzle  │               Cloudy         │     \   /     Clear          │     \   /     Clear          │
│     (   ).    12 °C          │      .--.     13 °C          │      .-.      +15(14) °C     │      .-.      +12(11) °C     │
│    (___(__)   ↙ 5-6 km/h     │   .-(    ).   ↙ 5-7 km/h     │   ― (   ) ―   ↓ 13-21 km/h   │   ― (   ) ―   ↓ 15-22 km/h   │
│     ‘ ‘ ‘ ‘   2 km           │  (___.__)__)  10 km          │      `-’      10 km          │      `-’      10 km          │
│    ‘ ‘ ‘ ‘    0.2 mm | 100%  │               0.0 mm | 0%    │     /   \     0.0 mm | 0%    │     /   \     0.0 mm | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘

Follow @igor_chubin for wttr.in updates
</code></pre>
]]></description><link>https://jike.info/topic/52686/终端中查询天气预报</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 01:47:11 GMT</lastBuildDate><atom:link href="https://jike.info/topic/52686.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Oct 2025 08:56:14 GMT</pubDate><ttl>60</ttl></channel></rss>