<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>NotionNext BLOG</title>
        <link>https://www.inzms.life//</link>
        <description>这是一个由NotionNext生成的站点</description>
        <lastBuildDate>Thu, 24 Aug 2023 07:57:20 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2023, Zhangsan</copyright>
        <item>
            <title><![CDATA[常用的sql语句]]></title>
            <link>https://www.inzms.life//article/example-8</link>
            <guid>https://www.inzms.life//article/example-8</guid>
            <pubDate>Thu, 08 Jun 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[sql 高效查询两表之间不同的数据]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-cbfd43cecd4d4e36892f1a35096bf222"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><ol start="1" class="notion-list notion-list-numbered notion-block-09a1742042454d6fb58cb2808f1977ae"><li>使用not in 结合distinct</li></ol><div class="notion-text notion-block-12c0afdca4054c8ea1f4ed16977ff2a3">2.使用left join 做关联查询条件为关联表的id is null</div><div class="notion-text notion-block-1eb642234a024c4aa4596935692abb94">3.充分利用count函数，若子查询的结果不为0，则表明该Id存在1条或多条，不会查询出词条记录，<span class="notion-red">最高效</span>！</div><hr class="notion-hr notion-block-235d5913090844f98c08c9506af83a24"/><div class="notion-text notion-block-feabb1e15406452ab2063abbba4549e6">4.写出一张表中id和name 两个字段，查询出name 重复的所有数据：</div><div class="notion-text notion-block-2eacfc71c35a444d881c143d89b8575c">5.查询出所有数据进行分组之后，和重复数据的重复次数的查询数据：</div><div class="notion-blank notion-block-faded904a55147bda6e0705209e291fd"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[个人]]></title>
            <link>https://www.inzms.life//article/example-4</link>
            <guid>https://www.inzms.life//article/example-4</guid>
            <pubDate>Fri, 23 Sep 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[一个关于个人介绍的文章。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-66d0f4cc631a4c31ba316175bd6163d9"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-gray_background notion-h-indent-0 notion-block-2a3d93c211fd4795951bfaf3dc934607" data-id="2a3d93c211fd4795951bfaf3dc934607"><span><div id="2a3d93c211fd4795951bfaf3dc934607" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2a3d93c211fd4795951bfaf3dc934607" title="关于我"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">关于我</span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-5ebeca82f2d444789e3e947301972614" data-id="5ebeca82f2d444789e3e947301972614"><span><div id="5ebeca82f2d444789e3e947301972614" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5ebeca82f2d444789e3e947301972614" title="Notion Header 5ebeca82f2d444789e3e947301972614"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b></b></span></span></h2><div class="notion-text notion-block-f2c091ded7e04747966921576e39dda7"><b>手握日月摘星辰，世间无我这般人</b></div><hr class="notion-hr notion-block-ecc927edefce420f80beddc0260095fe"/><div class="notion-text notion-block-512aed07e62245e5b99de7f4b5178fbd"><b>有志青年</b></div><hr class="notion-hr notion-block-6602f6ff54ed4584813bdffa361ee719"/><div class="notion-text notion-block-d0249eac48b84ba587582e92fa8410c9"><b>互联网公司打杂人员</b></div><hr class="notion-hr notion-block-382139ed9f6649979ce92cf8ace33aa5"/><div class="notion-text notion-block-9d3f156e70804949bff2821e53e1c3d9"><b>如果成功有捷径，那么一定是努力</b></div><hr class="notion-hr notion-block-6f72f46f013f4defb878e631e69b9135"/><div class="notion-text notion-block-c779eba3785c41f780d73ea6d5fa26f8"><b>夕阳寻梦待落幕，枫情凝露落叶霜。</b></div><hr class="notion-hr notion-block-66dc1d71206948c99ee80f60bf631dfc"/><div class="notion-text notion-block-116c8fac809842288a62b343befecb4f"><b>起点《重生之无上主宰》</b></div><hr class="notion-hr notion-block-2e48eeb1a8564d298a9d27284c55b65a"/><h2 class="notion-h notion-h1 notion-gray_background notion-h-indent-0 notion-block-9d180b8851f14af1976d60d1d0eea4db" data-id="9d180b8851f14af1976d60d1d0eea4db"><span><div id="9d180b8851f14af1976d60d1d0eea4db" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9d180b8851f14af1976d60d1d0eea4db" title="技术栈"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">技术栈</span></span></h2><hr class="notion-hr notion-block-e87a26ca12544e7bbeb9d6e23ab01cff"/><div class="notion-text notion-block-ca483d448ad8430485fe7a0de5d8fdf2">代码，我们眼中的世界，别人眼中的天书</div><div class="notion-text notion-block-4f9f273b398c430aba8111b060017cab">技能标签🙄：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-1a541e69bd2542fda344ef9ea38457bd"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fcdb510b6-74a0-4dd7-8137-25d64599809f%2F%25E5%25BE%25AE%25E4%25BF%25A1%25E6%2588%25AA%25E5%259B%25BE_20220926141136.png?table=block&amp;id=1a541e69-bd25-42fd-a344-ef9ea38457bd" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-c5b3a9cf27264518917d276e8637cffb"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[local storage]]></title>
            <link>https://www.inzms.life//article/example-7</link>
            <guid>https://www.inzms.life//article/example-7</guid>
            <pubDate>Thu, 03 Nov 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[localstorage 在浏览器的 API 有两个：localStorage 和sessionStorage，存在于 window 对象中：localStorage 对应 window.localStorage，sessionStorage 对应 window.sessionStorage。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-9c689e6727ff412fb8605c858b5f516d"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><blockquote class="notion-quote notion-block-836c4a0560f946189cbc234851263ac9"><div><em>原文链接：https://segmentfault.com/a/1190000004121465</em></div></blockquote><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-75f2bb91b9e94cfba472d933605da06a" data-id="75f2bb91b9e94cfba472d933605da06a"><span><div id="75f2bb91b9e94cfba472d933605da06a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#75f2bb91b9e94cfba472d933605da06a" title="🤔 HTMLAPI"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤔 HTMLAPI</span></span></h2><div class="notion-text notion-block-67fe83330fc043a5b74040f3a1ab6cc8">localstorage 在浏览器的 API 有两个：localStorage 和sessionStorage，存在于 window 对象中：localStorage 对应 window.localStorage，sessionStorage 对应 window.sessionStorage。</div><div class="notion-text notion-block-5c87669993254e70a6498f79bb2f2425">localStorage 和 sessionStorage 的区别主要是在于其生存期。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-95bb80c425124b97ba5b7df13e4ed5b0" data-id="95bb80c425124b97ba5b7df13e4ed5b0"><span><div id="95bb80c425124b97ba5b7df13e4ed5b0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#95bb80c425124b97ba5b7df13e4ed5b0" title="📝主旨内容"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">📝主旨内容</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-0c3ea43a4e494ed985d5a57b0babbb87" data-id="0c3ea43a4e494ed985d5a57b0babbb87"><span><div id="0c3ea43a4e494ed985d5a57b0babbb87" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0c3ea43a4e494ed985d5a57b0babbb87" title="生存期"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>生存期</b></span></span></h3><div class="notion-text notion-block-caf077a639734102b1f263586f27a32b">localStorage理论上来说是永久有效的，即不主动清空的话就不会消失，即使保存的数据超出了浏览器所规定的大小，也不会把旧数据清空而只会报错。但需要注意的是，在移动设备上的浏览器或各<code class="notion-inline-code">Native App</code>用到的<code class="notion-inline-code">WebView</code>
里，<code class="notion-inline-code">localStorage</code>都是不可靠的，可能会因为各种原因（比如说退出App、网络切换、内存不足等原因）被清空。</div><div class="notion-text notion-block-60d84c776d304394837b4981e4a85fd1">sessionStorage的生存期顾名思义，类似于<code class="notion-inline-code">session</code>，只要关闭浏览器（也包括浏览器的标签页），就会被清空。由于<code class="notion-inline-code">sessionStorage</code>的生存期太短，因此应用场景很有限，但从另一方面来看，不容易出现异常情况，比较可靠。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-c8c2e0459c2b4f3a9fb89d64a21a5929" data-id="c8c2e0459c2b4f3a9fb89d64a21a5929"><span><div id="c8c2e0459c2b4f3a9fb89d64a21a5929" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c8c2e0459c2b4f3a9fb89d64a21a5929" title="数据结构"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>数据结构</b></span></span></h3><div class="notion-text notion-block-a6ec801354fd46ecbdcf4ce42c24d171">localstorage为标准的键值对（Key-Value,简称KV）数据类型，简单但也易扩展，只要以某种编码方式把想要存储进localstorage的对象给转化成字符串，就能轻松支持。举点例子：把对象转换成json字符串，就能让存储对象了；把图片转换成DataUrl（base64），就可以存储图片了。另外对于键值对数据类型来说，&quot;键是唯一的&quot;这个特性也是相当重要的，重复以同一个键来赋值的话，会覆盖上次的值。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-cca30711d1924294bbc1bc481f6597d5" data-id="cca30711d1924294bbc1bc481f6597d5"><span><div id="cca30711d1924294bbc1bc481f6597d5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cca30711d1924294bbc1bc481f6597d5" title="过期时间"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>过期时间</b></span></span></h3><div class="notion-text notion-block-f0a5a15df93249da926d8105ddcbcbb8">很遗憾，localstorage原生是不支持设置过期时间的，想要设置的话，就只能自己来封装一层逻辑来实现：</div><div class="notion-blank notion-block-da0888962da340ddb4fb3f950fdb94a1"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-3064ff90ee9d4b97bebc6bac1ab622a9" data-id="3064ff90ee9d4b97bebc6bac1ab622a9"><span><div id="3064ff90ee9d4b97bebc6bac1ab622a9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3064ff90ee9d4b97bebc6bac1ab622a9" title="容量限制"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">容量限制</span></span></h3><div class="notion-text notion-block-37eb44377a2e418f99b89e985d4f615d">目前业界基本上统一为5M，已经比cookies的4K要大很多了，省着点用吧骚年。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-24c3edd71ebd4c8cbe4e2477b2718584" data-id="24c3edd71ebd4c8cbe4e2477b2718584"><span><div id="24c3edd71ebd4c8cbe4e2477b2718584" class="notion-header-anchor"></div><a class="notion-hash-link" href="#24c3edd71ebd4c8cbe4e2477b2718584" title="域名限制"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">域名限制</span></span></h3><div class="notion-text notion-block-99123ed70d38454c93ca9083340c12d1">由于浏览器的安全策略，localstorage是无法跨域的，也无法让子域名继承父域名的localstorage数据，这点跟cookies的差别还是蛮大的。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2842e5a89add4fc4a6fb3433627e01c4" data-id="2842e5a89add4fc4a6fb3433627e01c4"><span><div id="2842e5a89add4fc4a6fb3433627e01c4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2842e5a89add4fc4a6fb3433627e01c4" title="异常处理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>异常处理</b></span></span></h3><div class="notion-text notion-block-672c85cd2dce4ff6b75be096331a8ab9">localstorage在目前的浏览器环境来说，还不是完全稳定的，可能会出现各种各样的bug，一定要考虑好异常处理。我个人认为localstorage只是资源本地化的一种优化手段，不能因为使用localstorage就降低了程序的可用性，那种只是在console里输出点错误信息的异常处理我是绝对反对的。localstorage的异常处理一般用<code class="notion-inline-code">try/catch</code>来捕获/处理异常。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2c8fc9873aed4be5be84a66e2d926316" data-id="2c8fc9873aed4be5be84a66e2d926316"><span><div id="2c8fc9873aed4be5be84a66e2d926316" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2c8fc9873aed4be5be84a66e2d926316" title="如何测试用户当前浏览器是否支持localstorage"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>如何测试用户当前浏览器是否支持localstorage</b></span></span></h3><div class="notion-text notion-block-c953a769dd964ff09846fb105d078069">目前普遍的做法是检测<code class="notion-inline-code">window.localStorage</code>是否存在，但某些浏览器存在bug，虽然&quot;支持&quot;localstorage，但在实际过程中甚至可能出现无法setItem()这样的低级bug。因此我建议，可以通过在<code class="notion-inline-code">try/catch</code>结构里<code class="notion-inline-code">set/get</code>
一个测试数据有无出现异常来判断该浏览器是否支持localstorage，当然测试完后记得删掉测试数据哦。</div><div class="notion-text notion-block-26e8e4c72bf74c0b9c889ee818648a48"><b>如何调试</b>
在chrome开发者工具里的<code class="notion-inline-code">Resources - Local Storage</code>面板以及<code class="notion-inline-code">Resources - Session Storage</code>面板里，可以看到当前域名下的localstorage数据。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-5eb1c6620f4f4324b829c700de1e752f" data-id="5eb1c6620f4f4324b829c700de1e752f"><span><div id="5eb1c6620f4f4324b829c700de1e752f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5eb1c6620f4f4324b829c700de1e752f" title="在ios设备上无法重复setItem()"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>在ios设备上无法重复setItem()</b></span></span></h3><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-ca5d52d3cba84f29881ec892e2eab667" data-id="ca5d52d3cba84f29881ec892e2eab667"><span><div id="ca5d52d3cba84f29881ec892e2eab667" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ca5d52d3cba84f29881ec892e2eab667" title="参考文章"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">参考文章</span></span></h2><div class="notion-text notion-block-48caf13a3dbe40a1b2c2251cc352642d">• <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://www.w3.org/TR/webstorage/#storage">W3C - Web Storage</a></div><div class="notion-text notion-block-9ab24d57fb564bd99f7317008aac69c7">• <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://www.cnblogs.com/xiaowei0705/archive/2011/04/19/2021372.html">HTML5 LocalStorage 本地存储</a></div><div class="notion-text notion-block-5bb040c69d664210839624713a86b9af">• <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://developer.mozilla.org/zh-CN/docs/Web/API/Window/localStorage">MDN - Window.localStorage</a></div><div class="notion-blank notion-block-33eaf2f81bc44df48ceb0af16896228e"> </div><div class="notion-blank notion-block-80686d59c55b4f879a1c94ce5fca6212"> </div><div class="notion-blank notion-block-638447f131c14b7eb127067ca9c929db"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DNS原理]]></title>
            <link>https://www.inzms.life//article/example-5</link>
            <guid>https://www.inzms.life//article/example-5</guid>
            <pubDate>Mon, 26 Sep 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[DNS(Domain Name System,域名系统)，它实质上就是域名和IP相互映射的联机分布式数据库系统。
]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-35300eb417c74971b194bd501b41db31"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-b76e8a98b8c043eb9c8bb01726e05f3b">版权声明：</div><div class="notion-text notion-red notion-block-c66ee6a5af554a649fd81556bb3c81e7">本文为CSDN博主「白小宇」的原创文章，遵循CC 4.0 BY-SA版权协议，转载请附上原文出处链接及本声明。</div><div class="notion-text notion-red notion-block-62b30a69bde64a99b5ac775643921b13"><em>原文链接：https://blog.csdn.net/b954960630/article/details/81811543</em></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-7893d77a757243d89612f59019a0dab2" data-id="7893d77a757243d89612f59019a0dab2"><span><div id="7893d77a757243d89612f59019a0dab2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7893d77a757243d89612f59019a0dab2" title="🙃简介"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🙃简介</span></span></h2><div class="notion-text notion-block-2747c92b49d34b41bf7516658cabdb43">1.DNS(Domain Name System,域名系统)，它实质上就是域名和IP相互映射的联机分布式数据库系统。</div><div class="notion-text notion-block-d54846d4a4744e008947c5e4e3623678">DNS作用：根据域名查出IP地址。</div><div class="notion-text notion-block-9077d7733cd84afd908f4b6155edf83c">举例来说，如果你要访问一个地址为 hackr.jp的网页，首先要通过DNS查出它的IP地址是20X.189.105.112，然后你才能用该IP访问该网站。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-0d79b26555054cf6a20bbd08a542b822"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:640px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F80a28e79-607d-433e-80fc-8062c239940d%2F2283334-20220718104942220-1239637184.jpg?table=block&amp;id=0d79b265-5505-4cf6-a20b-bd08a542b822" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-da487981325a4f3ca12cce461e1e5fb1">DNS是分布式的：即单个计算机出故障，也不会妨碍整个DNS系统的正常工作。</div><div class="notion-text notion-block-5dbbbc56f11b4dc4951ecdb780f6db25">域名比起IP地址更加便于人们记忆，但是机器在处理IP数据报的时候使用的还是IP地址，因为其定长特性IPV4（IPV4为32位 ，IPV6为128位）便于机器处理，而域名是不定长的。</div><div class="notion-blank notion-block-217a192b11ff45e3bf73d3c138f5050e"> </div><details class="notion-toggle notion-block-b9d1968a2ad443d7846bca040ec4466f"><summary>2.域名到IP地址的解析是由分布式在因特网上的许多域名服务器共同完成的。解析过程如下：</summary><div><div class="notion-text notion-block-f5a35cdbdb9d4417b046dbc5af0c59e5">（1）当某一个应用进程需要把域名解析为IP地址时，该应用进程就调用解析程序（resolver），并成为DNS的一个客户，把带解析的域名放在DNS请求报文中，以udp用户数据报方式（减少开销） 发给本地服务器。</div><div class="notion-text notion-block-db30e2fa49b14d37b2a39412c3e47b2b">（2）本地服务器在查找域名后，把对应的IP地址放在回答报文中返回。应用进程获得目的主机IP地址后即可进行通信。</div><div class="notion-text notion-block-4baa510fee8a463c9add82b4ae203a20">（3）若本地域名服务器不能回答该请求，则此域名服务器就暂时成为DNS中另一名客户，并向其他域名服务器发出查询请求。这种过程直至找到能够回答该请求的域名服务器为止。</div></div></details><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-18f6213e702346fd9d33301b6e554fde" data-id="18f6213e702346fd9d33301b6e554fde"><span><div id="18f6213e702346fd9d33301b6e554fde" class="notion-header-anchor"></div><a class="notion-hash-link" href="#18f6213e702346fd9d33301b6e554fde" title="🤗域名分层机构"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🤗域名分层机构</span></span></h2><div class="notion-text notion-block-0b09e8a595294826a84c0b45ea4bb7fb">因特网 采用层次树状形结构的命名方法。</div><div class="notion-text notion-block-ce80bebae0f7433e9bb34c8112e02465">之所以设计这样复杂的树形结构，是为了防止名称冲突。这样一颗树结构，当然可以存储在一台机器上，但现实世界中完整的域名非常多，并且每天都在新增、删除大量的域名，存在一台机器上，对单机器的存储性能就是不小的挑战。另外，集中管理还有一个缺点就是管理不够灵活。可以想象一下，每次新增、删除域名都需要向中央数据库申请是多么麻烦。所以显示中的DNS 都是分布式存储的（eg:根域名服务器只存储与之相关联顶级域名）。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-97c68d5ca0a04202ac38de2b23b27659"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:517px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F063ac3e9-40bc-4707-819c-8c806bf2f887%2F2283334-20220718105012816-106886122.jpg?table=block&amp;id=97c68d5c-a0a0-4202-ac38-de2b23b27659" alt="notion image" loading="lazy" decoding="async"/></div></figure><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-5b0687703d874f62b4bdbfe188840bff" data-id="5b0687703d874f62b4bdbfe188840bff"><span><div id="5b0687703d874f62b4bdbfe188840bff" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5b0687703d874f62b4bdbfe188840bff" title="2.举例："><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.举例：</span></span></h4><div class="notion-text notion-block-ce0107240fac450f967cca56db35e764">      下面是站长之家的域名举例：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-18ec4a02cd86411d886b3340c97db27b"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:460px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F2e74b572-567d-43c9-b626-1cd2bb079ca3%2F2283334-20220718105100329-608082278.jpg?table=block&amp;id=18ec4a02-cd86-411d-886b-3340c97db27b" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-8ba4ec875e0b419f8dfff427fa1bb558">上面的.是根域名, 接着是顶级域名com，再下来是站长之家域名chinaz 依次类推。 使用域名时，从下而上。 s.tool.chinaz.com. 就是一个完整的域名, www.chinaz.com. 也是。</div><div class="notion-text notion-block-0794def574be456cae2dc8f075c07728">域名等级从左至右依次增高：例如在www.chinaz.com中，www为三级域名，chinaz为二级域名，com为顶级域名。<!-- -->有多个标号组成的完整域名总共不超过255个字符。</div><div class="notion-text notion-blue_background notion-block-fed9a4c5b0dc4fd99a8aa2c1197a12cd">注：域名中的“点”和点分十进制IP地址中的“点”并无对应关系。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-200e631b1d4a49a2a0a554b1872c741c" data-id="200e631b1d4a49a2a0a554b1872c741c"><span><div id="200e631b1d4a49a2a0a554b1872c741c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#200e631b1d4a49a2a0a554b1872c741c" title="🙄域名服务器"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🙄域名服务器</span></span></h2><details class="notion-toggle notion-block-6c05bee77c354d76be1eff23c4a8a51c"><summary>域名到IP地址的解析是由分布式在因特网上许多域名服务器共同完成的，现在依据域名服务器等级从高到低分为4类：</summary><div><ul class="notion-list notion-list-disc notion-block-b0869d0d6094423ca6420700c96fb1a5"><li>根域名服务器（root name server ）:最高层次，同时也是最重的域名服务器。任何一个根域名服务器都知道所有的顶级域名服务器的域名和IP地址。</li></ul><div class="notion-text notion-block-a3270a269b104866a5b3cc31f247f539">本地域名服务器将 域名转换为IP地址 的过程中，只要自己无法转换，就要首先求助于根域名服务器。假      定所有的根域名服务器都挂了，那么整个互联网中的DNS系统就都挂了。根域名服务器并不直接把待查询的域名  直接转换成IP地址(根域名服务器也没有这种信息)，而是告诉本地域名服务器下一步应当找哪一个顶级域名服   务器进行查询。</div><ul class="notion-list notion-list-disc notion-block-660eae73d55d4c3a9c27bbe697454a83"><li>顶级域名服务器（TLD服务器）：负责管理在该顶级域名服务器注册的所有二级域名。当收到DNS查询请求时，就给出相应的回答(可能是最后结果，也可能是下一步应当找的域名服务器的IP地址)。</li></ul><ul class="notion-list notion-list-disc notion-block-805fdead3cd24a6e8e49197089f2043e"><li>权限域名服务器：从理论上讲，可以让每一级的域名都有一个相对应的域名服务器，使所有的域名服务器构成和图6-1相应的“域名服务器树”的结构，但这样做会使域名服务器数量太多，使其运行效率降低，因此DNS采用划分区的方法来解决这个问题。<code class="notion-inline-code">一个服务器所负责管辖的（或有权限的）范围叫做区</code>。<code class="notion-inline-code">各单位根据自己情况来划分区的范围，每个区设置相应的 权限域名服务器，用来保存该区中所有主机的域名到IP地址的映射</code>。</li></ul><ul class="notion-list notion-list-disc notion-block-602570211f634932a71975fb8910b8af"><li>本地域名服务器（loca name server ）:当一个主机发出DNS查询请求时，这个查询请求报文就发送给本地域名服务器。每个互联网提供商ISP,或一个大学，甚至一个大学里的系，都可以拥有本地域名服务器。本地域名服务器离用户较近，一般不超过几个路由器的距离。当所要查询的主机也属于同一个本地ISP时，该本地域名服务器立刻就能将所查询的主机名转换为IP地址，而不需要再访问其他域名服务器。</li></ul></div></details><div class="notion-blank notion-block-92a3cd86fc054007a0145cc4f18d05fc"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-77cdf21dd8344d0aabc612ee71a5fafc" data-id="77cdf21dd8344d0aabc612ee71a5fafc"><span><div id="77cdf21dd8344d0aabc612ee71a5fafc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#77cdf21dd8344d0aabc612ee71a5fafc" title="😉DNS解析流程"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">😉DNS解析流程</span></span></h2><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-29fdc15659ae4fe09cb81051bd7febfb"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:644px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F054dc391-2da7-4845-8b8f-a3f1e9b3946c%2F2283334-20220718105153337-513501875.jpg?table=block&amp;id=29fdc156-59ae-4fe0-9cb8-1051bd7febfb" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-8c6c8e217a0c47ca860251537ec47270"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://xn--urly-2f5f84ilrcevrmub85k8ugz1w546a360av3nx69cruu.abc.com/">假如客户端在浏览器的URL中输入y.abc.com</a>，即想要解析获取y.abc.com的IP地址。（<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://xn--y-zn6a394bumgfkfcriml4a5y1anft.abc.com/">客户是第一次访问y.abc.com</a>）</div><details class="notion-toggle notion-block-df0c19973b9a42e19e3b2df61bc5ae68"><summary>如果 本地域名服务器 采用迭代查询：（图a）</summary><div><div class="notion-text notion-block-017ce83c8afe4f0b864dec2c00e5eb15">（1）客户端向 本地域名服务器(递归查询) 发出解析y.abc.com域名的请求。</div><div class="notion-text notion-block-4c979094946e471b9db3cf602cddfd95">本地域名服务器 查看本地缓存，是否有缓存过y.abc.com域名，如果有直接返回给客户端；如果没有执行下一步；</div><div class="notion-text notion-block-6e4b7de31a624864bb85dd7c925a74d0">（2）本地域名服务器 采用迭代查询。它先向一个 根域名服务器 查询。</div><div class="notion-text notion-block-013638cb2384431692caa7b0b1b6df50">（3）根域名服务器 告诉 本地域名服务器，下一次应查询的 顶级域名服务器dns.com的IP地址。</div><div class="notion-text notion-block-ab8e2708cf884c78bac757949173845a">（4）本地域名服务器 向 顶级域名服务器dns.com 进行查询。</div><div class="notion-text notion-block-8e416824d8bf441aa643d9a275df8b4e">（5）顶级域名服务器dns.com 告诉 本地域名服务器，下一步应查询的 权限服务器dns.abc.com 的IP地址。</div><div class="notion-text notion-block-5ee9f2e1dade406e9e3faf374034265d">（6）本地域名服务器 向 权限域名服务器dns.abc.com 进行查询。</div><div class="notion-text notion-block-93ed16fc49714a97b5de43ddec544caf">（7）权限域名服务器dns.abc.com 告诉 本地域名服务器，所查询的主机的IP地址。</div><div class="notion-text notion-block-3484c47c75f346ce9becfa86fe64f955">（8）本地域名服务器 最后把查询结果告诉m.xyz.com。</div><div class="notion-text notion-blue_background notion-block-86806a1201954f589f46874902c04d58">注：整个查询过程共用到了8个UDP报文。</div><div class="notion-text notion-block-5cb046b1fad045c4ac9502691314f691">如果 本地服务器采用 递归查询：（图b）</div><div class="notion-text notion-block-af6b952819734c5a8a9c083fa841ac5f">这里，本地域名服务器 只需要向 根域名服务器查询一次，后面的查询都是在其他几个域名服务器之间进行的（步骤3~6）。只是在第7步，本地域名服务器 从 根域名服务器 得到了所需的IP地址。最后在步骤8，本地域名服务器 把查询得到的IP 告诉了客户端。整个查询过程也是使用了8个UDP报文。</div><h4 class="notion-h notion-h3 notion-block-e494b235521b4a28bb7e94a1977f8b2b" data-id="e494b235521b4a28bb7e94a1977f8b2b"><span><div id="e494b235521b4a28bb7e94a1977f8b2b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e494b235521b4a28bb7e94a1977f8b2b" title="3.高速缓存"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.高速缓存</span></span></h4><div class="notion-text notion-block-59be19e5a9744cafa5577ff431eb04e9">为了提高DNS查询效率，并减轻服务器的负荷减少因特网上的DNS查询报文数量，在域名服务器中广泛使用了高速缓存，用来存放最近查询过得域名以及从何处获得域名映射信息记录。</div><div class="notion-text notion-block-135d7802fd3f4026b07e9086cbf0bedb">例如，在上面的查询过程中，如果在m.xyz.com的主机上不久前已经有用户查询过y.abc.com的IP地址，那么本地域名服务器就不必向根域名服务器重新查询y.abc.com的IP地址，而是直接把高速缓存中存放的上次查询结果返回(即y.abc.com的IP地址)给用户。<!-- -->假定本地域名服务器的缓存中并没有y.abc.com的IP地址，而是存放着顶级域名服务器dns.com的IP地址，那么本地域名服务器也可以不向根域名服务器进行查询，而是直接向com顶级域名服务器 发送查询请求报文。这样能大大减轻根域名服务器的负荷。</div><div class="notion-text notion-block-76939c8446f648099514efaa02290341">由于名字到地址的绑定并不经常改变，为保持告诉缓存中的内容正确，域名服务器应为每项内容设置计时器并删除超过合理时间的项(例如每个项目两天)。当域名服务器已从缓存中删去某项信息后又被请求查询该项信息，就必须重新到授权管理该项的域名服务器绑定信息。当权限服务器回答一个查询请求时，在响应中都指明绑定有效存在的时间值。增加此时间值可减少网络开销，而减少此时间值可提高域名解析的正确性。不仅在本地域名服务器中需要高速缓存，在主机中也需要。许多主机在启动时从本地服务器下载名字和地址的全部数据库，维护村放在自己最近使用的域名的高速缓存，并且只在缓存中删除无效的项。由于域名改动并不频繁，大多数网点不需要花精力就能维护数据库的一致性。</div></div></details><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-df3b12637faa4f158d7113eee9c38ab6" data-id="df3b12637faa4f158d7113eee9c38ab6"><span><div id="df3b12637faa4f158d7113eee9c38ab6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#df3b12637faa4f158d7113eee9c38ab6" title="4.加上主机缓存后的DNS解析流程"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.加上主机缓存后的DNS解析流程</span></span></h4><details class="notion-toggle notion-block-e502f825f0b444ef9874d735f51fe768"><summary>如果还用上面的例子，且加上主机中的缓存，<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://xn--urly-2f5fo4oqqk4pbx8uprqvy2afdx8xmqu4c0fs.abc.com/">客户端在浏览器的URL中输入y.abc.com</a> ,即想要解析获取y.abc.com的Ip地址。会发生下一下动作：</summary><div><div class="notion-text notion-block-b29dab4dbe01429498385bc9790d23bc">（1）浏览器会首选搜索浏览器自身的DNS缓存（缓存时间比较短，大概只有1分钟，且只能容纳10001条缓存），看自身的缓存中是否有y.abc.com 对应条目，而且没有过期，如果有且没有过期则解析到此结束。</div><div class="notion-text notion-block-ba63fc50b9384d5c93e3b7d40e9175ea">（2）如果浏览器自身的缓存里面没有找到对应的条目，那么浏览器会搜索操作系统自身的DNS缓存，如果找到且没有过期则停止搜索到此结束。</div><div class="notion-text notion-block-dcb0800b1e604f87b44929c35ca4b41c">（3）如果操作系统（eg:Windows 系统）的DNS缓存中也没有找到，那么尝试读取hosts文件（位于C：\Windows\System32\drivers\ect）,看看这里面有没有该域名对应的IP地址，如果有则谭解析成功。</div><div class="notion-text notion-block-9e1bc10ae62a44bb9ae491f86d6a2588">（4）如果在hosts文件中也没有找到对应的条目，浏览器就会发起一个DNS的系统调用，就会向本地域名服务器 发起域名解析请求</div><div class="notion-text notion-block-13f8368d097248f78c00f0e8df8219b6">（5）之后的操作就一样了，同上.....即可:上面本地域名服务器 递归查询或迭代查询的过程。</div></div></details></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[示例文章]]></title>
            <link>https://www.inzms.life//article/example-1</link>
            <guid>https://www.inzms.life//article/example-1</guid>
            <pubDate>Sat, 24 Sep 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[这是示例的文章摘要，摘要内容可被用做搜索，预览。文章列表默认展示概要；若要在列表直接展示文章内容，可在blog.config.js中配置。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-3f633baf8e054463ae505b36967e402f"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-23f3f745d682445a80ce5c0e45657e53" data-id="23f3f745d682445a80ce5c0e45657e53"><span><div id="23f3f745d682445a80ce5c0e45657e53" class="notion-header-anchor"></div><a class="notion-hash-link" href="#23f3f745d682445a80ce5c0e45657e53" title="一、模板使用说明"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">一、模板使用说明</span></span></h2><div class="notion-text notion-block-1f69d6a4e9ed4ce79999d0ebdcbcd223">Notion页面中，每一篇文章都有以下属性🤔：</div><table class="notion-simple-table notion-block-bfaebdebf05a41c8a0a95ee8c7c9a4d7"><tbody><tr class="notion-simple-table-row notion-block-69f4f687d483408ea82270060ac7953b"><td class="" style="width:148px"><div class="notion-simple-table-cell">属性</div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">必填</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">说明</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">备注</div></td></tr><tr class="notion-simple-table-row notion-block-f7ab7f2653114c6688f5ae20be2f02b0"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">title</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell"> 是</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell"> 文章标题</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">ㅤ</div></td></tr><tr class="notion-simple-table-row notion-block-b52e94fe4bf74492b995fe592a5130f0"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">status</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">是</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">发布状态</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">（仅当状态为<code class="notion-inline-code">Published</code> 时会被 展示）</div></td></tr><tr class="notion-simple-table-row notion-block-bd5d7ac8cdea4ac2bfcbc89dd5605c02"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">type</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">是</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">页面类型 (博文<code class="notion-inline-code">Post</code> / 单页(<code class="notion-inline-code">Page</code>)</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">单页不会在博文列表显示 。</div></td></tr><tr class="notion-simple-table-row notion-block-093e30c4531c45b9922f4fa099666a36"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">summary</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">内容摘要</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">搜索和简略显示会用到</div></td></tr><tr class="notion-simple-table-row notion-block-d4a40cc85b7b4c2fa05a09e6219d36fe"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">date</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">发布日期</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">在V3.3.9之前的版本此项为必填。</div></td></tr><tr class="notion-simple-table-row notion-block-b1e474fd6bb74bcda335a6d3a6d75469"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">category</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">文章分类</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">可以自定义</div></td></tr><tr class="notion-simple-table-row notion-block-25fbdf67dcf64f7f97b604d4c775974f"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">tags</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">文章标签</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">可多个，建议不要太多</div></td></tr><tr class="notion-simple-table-row notion-block-6c9c0a7517e640c0bd99b1eb0c13a9e7"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">slug</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">文章短路径</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell"> (每篇文章唯一，请勿 重复）</div></td></tr><tr class="notion-simple-table-row notion-block-bb2c673f0a5f46a1bbf48a5f347d8e95"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">icon</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell">否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell">菜单栏图标(仅当<code class="notion-inline-code">Page</code>类型有效)</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell">可以参考：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://fontawesome.com/v5/search">图标库地址</a></div></td></tr><tr class="notion-simple-table-row notion-block-8a6f32bc731d4a7fbdcbe07f2d6bda21"><td class="" style="width:148px"><div class="notion-simple-table-cell"><code class="notion-inline-code">password</code></div></td><td class="" style="width:77.00000762939453px"><div class="notion-simple-table-cell"> 否</div></td><td class="" style="width:239.00001525878906px"><div class="notion-simple-table-cell"> 文章加锁</div></td><td class="" style="width:315.66668701171875px"><div class="notion-simple-table-cell"> 需要输入密码才允许访问</div></td></tr></tbody></table><div class="notion-blank notion-block-15cde9b0862944478b3accaed4f1499c"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-0ac952d581ab487dbc10511560b5cec4" data-id="0ac952d581ab487dbc10511560b5cec4"><span><div id="0ac952d581ab487dbc10511560b5cec4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0ac952d581ab487dbc10511560b5cec4" title="二、示例段落"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">二、示例段落</span></span></h2><div class="notion-callout notion-gray_background_co notion-block-a35fcf6b750e43a09d888295a0443a68"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">生活的意义并不是与他人争高下，而在于享受努力实现目标的过程，结果只是对自己行动的嘉奖。</div></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-1887180267d749e5bcc17eb46fa8c7b8"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fea6af6c9-de2c-4445-9483-f9b1942b34e2%2FUntitled.png?table=block&amp;id=18871802-67d7-49e5-bcc1-7eb46fa8c7b8" alt="图片标题" loading="lazy" decoding="async"/><figcaption class="notion-asset-caption">图片标题</figcaption></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-7b12a6ee299644f68b66e38c59bb1a64" data-id="7b12a6ee299644f68b66e38c59bb1a64"><span><div id="7b12a6ee299644f68b66e38c59bb1a64" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7b12a6ee299644f68b66e38c59bb1a64" title="1.将进酒"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.<b>将进酒</b></span></span></h3><div class="notion-text notion-block-857866d615544f8088074e3c55fcc243"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://so.gushiwen.cn/authorv.aspx?name=%e6%9d%8e%e7%99%bd">李白 </a><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://so.gushiwen.cn/shiwens/default.aspx?cstr=%e5%94%90%e4%bb%a3">〔唐代〕</a></div><div class="notion-text notion-block-9f9aa9d333cc46a29f79b854caa97ebb">君不见黄河之水天上来，奔流到海不复回。
君不见高堂明镜悲白发，朝如青丝暮成雪。
人生得意须尽欢，莫使金樽空对月。
天生我材必有用，千金散尽还复来。
烹羊宰牛且为乐，会须一饮三百杯。
岑夫子，丹丘生，将进酒，杯莫停。
与君歌一曲，请君为我倾耳听。
钟鼓馔玉不足贵，但愿长醉不愿醒。
古来圣贤皆寂寞，惟有饮者留其名。
陈王昔时宴平乐，斗酒十千恣欢谑。
主人何为言少钱，径须沽取对君酌。
五花马、千金裘，呼儿将出换美酒，与尔同销万古愁。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2b7aa7c3c83a4c4f932e99b17cc0a832" data-id="2b7aa7c3c83a4c4f932e99b17cc0a832"><span><div id="2b7aa7c3c83a4c4f932e99b17cc0a832" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b7aa7c3c83a4c4f932e99b17cc0a832" title="2.代码"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.代码</span></span></h3><details class="notion-toggle notion-block-5008d4b54189490e809ec513d1076a49"><summary>折叠的代码 </summary><div></div></details><figure class="notion-asset-wrapper notion-asset-wrapper-codepen notion-block-8a42505491a9432782417ce879e2f746"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:600px"><iframe class="notion-asset-object-fit" src="https://codepen.io/tangly1024/embed/preview/eYeGRRq?default-tabs=html%2Cresult&amp;height=600&amp;host=https%3A%2F%2Fcodepen.io&amp;slug-hash=eYeGRRq" title="iframe codepen" frameBorder="0" allowfullscreen="" loading="lazy" scrolling="auto"></iframe></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-44c5b6d330e848c29aba595176a82f48" data-id="44c5b6d330e848c29aba595176a82f48"><span><div id="44c5b6d330e848c29aba595176a82f48" class="notion-header-anchor"></div><a class="notion-hash-link" href="#44c5b6d330e848c29aba595176a82f48" title="3.公式"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.公式</span></span></h3><div class="notion-text notion-block-3a5d42fb8ad946cc91e5dff1f71f2ebc"></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-b68ff1eec8704fddabb6e843f0f65dae" data-id="b68ff1eec8704fddabb6e843f0f65dae"><span><div id="b68ff1eec8704fddabb6e843f0f65dae" class="notion-header-anchor"></div><a class="notion-hash-link" href="#b68ff1eec8704fddabb6e843f0f65dae" title="4.数据"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.数据</span></span></h3><div><div></div><div class="notion-collection-header"><div class="notion-collection-header-title">数据库</div></div></div><div class="notion-collection notion-block-a6d1dbd5c9eb4621ac0a8a17ae926f42"><div class="notion-table" style="width:1024px;max-width:1024px"><div class="notion-table-view" style="padding-left:96px;padding-right:96px"><div class="notion-table-header"><div class="notion-table-header-inner"><div class="notion-table-th"><div class="notion-table-view-header-cell" style="width:132px"><div class="notion-table-view-header-cell-inner"><div class="notion-collection-column-title"><svg viewBox="0 0 14 14" class="notion-collection-column-title-icon"><path d="M7.74 8.697a.81.81 0 01.073.308.894.894 0 01-.9.888.867.867 0 01-.825-.592l-.333-.961H2.058l-.333.961a.882.882 0 01-.838.592A.884.884 0 010 9.005c0-.11.025-.222.062-.308l2.403-6.211c.222-.58.776-.986 1.442-.986.653 0 1.22.407 1.442.986l2.39 6.211zM2.6 6.824h2.613L3.907 3.102 2.6 6.824zm8.8-3.118c1.355 0 2.6.542 2.6 2.255V9.08a.8.8 0 01-.789.814.797.797 0 01-.788-.703c-.395.468-1.097.764-1.874.764-.949 0-2.07-.64-2.07-1.972 0-1.392 1.121-1.897 2.07-1.897.789 0 1.491.246 1.886.727v-.826c0-.604-.518-.998-1.306-.998-.469 0-.888.123-1.32.394a.64.64 0 01-.307.086.602.602 0 01-.592-.604c0-.221.123-.419.284-.517a3.963 3.963 0 012.206-.641zm-.222 5.188c.505 0 .998-.172 1.257-.517v-.74c-.259-.345-.752-.517-1.257-.517-.616 0-1.122.332-1.122.9 0 .554.506.874 1.122.874zM.656 11.125h12.688a.656.656 0 110 1.313H.656a.656.656 0 110-1.313z"></path></svg><div class="notion-collection-column-title-body">类型</div></div></div></div></div><div class="notion-table-th"><div class="notion-table-view-header-cell" style="width:129px"><div class="notion-table-view-header-cell-inner"><div class="notion-collection-column-title"><svg viewBox="0 0 14 14" class="notion-collection-column-title-icon"><path d="M7 4.568a.5.5 0 00-.5-.5h-6a.5.5 0 00-.5.5v1.046a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V4.568zM.5 1a.5.5 0 00-.5.5v1.045a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V1.5a.5.5 0 00-.5-.5H.5zM0 8.682a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V7.636a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v1.046zm0 3.068a.5.5 0 00.5.5h9a.5.5 0 00.5-.5v-1.045a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v1.045z"></path></svg><div class="notion-collection-column-title-body">价格</div></div></div></div></div></div></div><div class="notion-table-header-placeholder"></div><div class="notion-table-body"><div class="notion-table-row"><div class="notion-table-cell notion-table-cell-title" style="width:132px"><span class="notion-property notion-property-title"><a class="notion-page-link" href="/adf2cc7bbdeb46b991e90a9a87836968"><span class="notion-page-title"><div class="notion-page-icon-inline notion-page-icon-image"><svg class="notion-page-title-icon notion-page-icon" alt="计算机" viewBox="0 0 30 30" width="16"><path d="M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H8V21z M8,25h14v-2H8V25z"></path></svg></div><span class="notion-page-title-text">计算机</span></span></a></span></div><div class="notion-table-cell notion-table-cell-text" style="width:129px"><span class="notion-property notion-property-text">￥1000</span></div></div><div class="notion-table-row"><div class="notion-table-cell notion-table-cell-title" style="width:132px"><span class="notion-property notion-property-title"><a class="notion-page-link" href="/bb384cca71c8410289e812158c2be8ba"><span class="notion-page-title"><div class="notion-page-icon-inline notion-page-icon-image"><svg class="notion-page-title-icon notion-page-icon" alt="书桌" viewBox="0 0 30 30" width="16"><path d="M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H8V21z M8,25h14v-2H8V25z"></path></svg></div><span class="notion-page-title-text">书桌</span></span></a></span></div><div class="notion-table-cell notion-table-cell-text" style="width:129px"><span class="notion-property notion-property-text">￥300</span></div></div></div></div></div></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-0357ede565bf44b0a57753a528d6ff9f" data-id="0357ede565bf44b0a57753a528d6ff9f"><span><div id="0357ede565bf44b0a57753a528d6ff9f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0357ede565bf44b0a57753a528d6ff9f" title="5.代办"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.代办</span></span></h3><div class="notion-to-do notion-block-e7742954d26b4597966a5553d0923986"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">洗衣</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-6d0e45fd871245c788cf75002abeb618"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">做饭</div></div><div class="notion-to-do-children"></div></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-56dd727c1d0146fb9061cde82aeb9b3e" data-id="56dd727c1d0146fb9061cde82aeb9b3e"><span><div id="56dd727c1d0146fb9061cde82aeb9b3e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#56dd727c1d0146fb9061cde82aeb9b3e" title="6.折叠列表"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6.折叠列表</span></span></h3><details class="notion-toggle notion-block-1f404259a6b444f79ffecacf75d7afdf"><summary>点击展开</summary><div><details class="notion-toggle notion-block-8527a6462a3b417996ecf87f8548f817"><summary>点击展开</summary><div><details class="notion-toggle notion-block-cd2c26d8a1aa4315ac46e6ad63bfd9eb"><summary>点击展开</summary><div><div class="notion-text notion-block-596ab1d1a98a45e388ae43915ee3b10b">内容可以多级嵌套</div></div></details></div></details></div></details><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-512f742d05b94ab994508eba798e2caf" data-id="512f742d05b94ab994508eba798e2caf"><span><div id="512f742d05b94ab994508eba798e2caf" class="notion-header-anchor"></div><a class="notion-hash-link" href="#512f742d05b94ab994508eba798e2caf" title="7.引用✍️"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">7.引用✍️</span></span></h3><blockquote class="notion-quote notion-block-b7780309d53245d5b6018d6414acf137"><div>书中自有黄金屋，书中自有颜如玉</div></blockquote><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2f37d26ced59492f941d871ebda64cd7" data-id="2f37d26ced59492f941d871ebda64cd7"><span><div id="2f37d26ced59492f941d871ebda64cd7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2f37d26ced59492f941d871ebda64cd7" title="8. 链接引用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">8. 链接引用</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-e06af5dc9402478598d2d24ba8419410" data-id="e06af5dc9402478598d2d24ba8419410"><span><div id="e06af5dc9402478598d2d24ba8419410" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e06af5dc9402478598d2d24ba8419410" title="外部引用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">外部引用</span></span></h4><div class="notion-row notion-block-ac1b671c5e7a4d799df44fd71e63eb85"><div class="notion-column notion-block-279d3ecbdd7742e3a6c53dd8bac92415" style="width:calc((100% - (2 * min(32px, 4vw))) * 0.33333333333333337)"><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-5e3a3b3c2070402a97019b4e4a6ec1d0" href="https://tangly1024.com/"><div><div class="notion-bookmark-title">tangly1024.com</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-text">https://tangly1024.com/</div></div></div></a></div></div><div class="notion-spacer"></div><div class="notion-column notion-block-f1e248da980c4f129717be86df7b2596" style="width:calc((100% - (2 * min(32px, 4vw))) * 0.33333333333333337)"><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-027e2e84bc6d467d8cebc5361104b97f" href="https://preview.tangly1024.com/"><div><div class="notion-bookmark-title">NOTION BLOG | 演示站点描述</div><div class="notion-bookmark-description">演示站点描述</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://preview.tangly1024.com/favicon.ico" alt="NOTION BLOG | 演示站点描述" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://preview.tangly1024.com/</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fp1.qhimg.com%2Fbdm%2F1600_900_100%2Ft01e66d486b8e826270.jpg?table=block&amp;id=02ab3b86-7800-4aa6-9e9e-415905ef32a5&amp;cache=v2" alt="NOTION BLOG | 演示站点描述" loading="lazy" decoding="async"/></div></a></div></div><div class="notion-spacer"></div><div class="notion-column notion-block-298bc5734b434abc8920269cce1c5f69" style="width:calc((100% - (2 * min(32px, 4vw))) * 0.3333333333333333)"><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-950c94a9fb08447e9e685879679f87fc" href="https://www.notion.so/tanghh/a6271da06b8f47a39735e8fa770f1d9f"><div><div class="notion-bookmark-title">示例普通文章</div><div class="notion-bookmark-description">Notion页面中，每一篇文章都有以下属性🤔： 💡 生活的意义并不是与他人争高下，而在于享受努力实现目标的过程，结果只是对自己行动的嘉奖。 李白 〔唐代〕 君不见黄河之水天上来，奔流到海不复回。 君不见高堂明镜悲白发，朝如青丝暮成雪。 人生得意须尽欢，莫使金樽空对月。 天生我材必有用，千金散尽还复来。 烹羊宰牛且为乐，会须一饮三百杯。 岑夫子，丹丘生，将进酒，杯莫停。 与君歌一曲，请君为我倾耳听。 钟鼓馔玉不足贵，但愿长醉不愿醒。 古来圣贤皆寂寞，惟有饮者留其名。 陈王昔时宴平乐，斗酒十千恣欢谑。 主人何为言少钱，径须沽取对君酌。 五花马、千金裘，呼儿将出换美酒，与尔同销万古愁。 // C++ #include using namespace std; // main() 是程序开始执行的地方 int main() { cout 2H2 + O2}$</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/images/favicon.ico" alt="示例普通文章" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.notion.so/tanghh/a6271da06b8f47a39735e8fa770f1d9f</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1638913662584-731da41f5a59%3Fixlib%3Drb-1.2.1%26q%3D85%26fm%3Djpg%26crop%3Dentropy%26cs%3Dsrgb?table=block&amp;id=b68f54c8-86b2-47d2-ae9c-9b766887e47b&amp;width=2000&amp;userId=&amp;cache=v2" alt="示例普通文章" loading="lazy" decoding="async"/></div></a></div></div><div class="notion-spacer"></div></div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-168ae7b8be324e248d7cd66e87df9b8b" data-id="168ae7b8be324e248d7cd66e87df9b8b"><span><div id="168ae7b8be324e248d7cd66e87df9b8b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#168ae7b8be324e248d7cd66e87df9b8b" title="内部引用，两种方式："><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">内部引用，两种方式：</span></span></h4><ol start="1" class="notion-list notion-list-numbered notion-block-70a0c0bf910f4f5fabefa30f594d5466"><li><a class="notion-link" href="/2ad32a9c4f8a4914a1dcb308e436a533"><span class="notion-page-title"><div class="notion-page-icon-inline notion-page-icon-image"><svg class="notion-page-title-icon notion-page-icon" alt="加锁文章 - 密码123456" viewBox="0 0 30 30" width="16"><path d="M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H8V21z M8,25h14v-2H8V25z"></path></svg></div><span class="notion-page-title-text">加锁文章 - 密码123456</span></span></a> ，这篇文章在站点中会被替换成博文内部的链接。</li><ol class="notion-list notion-list-numbered notion-block-70a0c0bf910f4f5fabefa30f594d5466"><div class="notion-callout notion-gray_background_co notion-block-c8769bdfd6c94a0b9b1297f9b83c83d2"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">例如<code class="notion-inline-code">https://www.notion.so/tanghh/4d7cafcd57a4425590c5821a6f40dfe8</code> 会被替换为 <code class="notion-inline-code">/article/4d7cafcd57a4425590c5821a6f40dfe8</code></div></div><div class="notion-text notion-block-28bb07327e014c988e7bf12ce97a1db6">在notion中输入<code class="notion-inline-code">@</code>符号后输入文章名即可搜索关联 。（注意：仅限用此形式，若以书签形式引用notion页面，将被视为外部链接）</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-8520af0484b8432aa85e7047b982df57"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:240px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F50440a56-ebf5-4a1e-b7e8-9bcff5763690%2FUntitled.png?table=block&amp;id=8520af04-84b8-432a-a85e-7047b982df57" alt="notion image" loading="lazy" decoding="async"/></div></figure></ol></ol><ol start="2" class="notion-list notion-list-numbered notion-block-cc9ebf4c2f754eeab18b516b410eaf24"><li>在博客站点中复制你的文章链接，再粘贴到notion博客中</li><ol class="notion-list notion-list-numbered notion-block-cc9ebf4c2f754eeab18b516b410eaf24"><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-a85cd48b73844959a9809f478f0c9ca9" href="https://preview.tangly1024.com/message"><div><div class="notion-bookmark-title">留言板 | NOTION BLOG</div><div class="notion-bookmark-description">示例单页</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://preview.tangly1024.com/favicon.ico" alt="留言板 | NOTION BLOG" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://preview.tangly1024.com/message</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F79f4ac09-1d80-4f5d-a22f-eec909f9c6e4%252F1aa82e824cd10f7edcb5c82b8777e643.jpg%3Ftable%3Dblock%26id%3D4194acae-3f4b-4c08-98b9-907a0b5bd4b9%26cache%3Dv2?table=block&amp;id=a85cd48b-7384-4959-a980-9f478f0c9ca9" alt="留言板 | NOTION BLOG" loading="lazy" decoding="async"/></div></a></div></ol></ol><div class="notion-blank notion-block-9ca58d0335f54ffe8fae89417a890ff8"> </div><hr class="notion-hr notion-block-50348a840e7b438dbf617b11ff7e99f6"/><div class="notion-blank notion-block-1483c3d57eeb4689b3b5c08a8bcea119"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-7af5d4c08a554cd4a70d10fd808050a1" data-id="7af5d4c08a554cd4a70d10fd808050a1"><span><div id="7af5d4c08a554cd4a70d10fd808050a1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7af5d4c08a554cd4a70d10fd808050a1" title="9. 照片集"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">9. 照片集</span></span></h3><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-522530e7707f47d99ff9aae0d1b0abf3"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:52px"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F1d164cab-e2e7-4d66-8da6-5d54d644e455%2FUntitled.png?table=block&amp;id=522530e7-707f-47d9-9ff9-aae0d1b0abf3" alt="图片高度验证" loading="lazy" decoding="async"/><figcaption class="notion-asset-caption">图片高度验证</figcaption></div></figure><div class="notion-blank notion-block-f384a5542007464289036acaffc1a5ef"> </div><div><div></div></div><div class="notion-collection notion-block-6d0a3675f58446e99698f71ba89ffbd9"><div class="notion-gallery"><div class="notion-gallery-view"><div class="notion-gallery-grid notion-gallery-grid-size-medium"><a class="notion-collection-card notion-collection-card-size-medium" href="/04622d2d5c114d698d7de8497d5da659"><div class="notion-collection-card-cover"><img style="object-fit:cover;object-position:center 30.000000000000004%" src="https://www.notion.so/images/page-cover/met_emanuel_leutze.jpg" alt="照片标题1" loading="lazy" decoding="async"/></div><div class="notion-collection-card-body"><div class="notion-collection-card-property"><span class="notion-property notion-property-title"><span class="notion-page-link"><span class="notion-page-title"><div class="notion-page-icon-inline notion-page-icon-image"><svg class="notion-page-title-icon notion-page-icon" alt="照片标题1" viewBox="0 0 30 30" width="16"><path d="M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H8V21z M8,25h14v-2H8V25z"></path></svg></div><span class="notion-page-title-text">照片标题1</span></span></span></span></div><div class="notion-collection-card-property"><span class="notion-property notion-property-text"></span></div></div></a><a class="notion-collection-card notion-collection-card-size-medium" href="/a0526ce614184af69cf22b5cd4ca7ddf"><div class="notion-collection-card-cover"><img style="object-fit:cover;object-position:center 70%" src="https://www.notion.so/images/page-cover/met_vincent_van_gogh_ginoux.jpg" alt="照片标题2" loading="lazy" decoding="async"/></div><div class="notion-collection-card-body"><div class="notion-collection-card-property"><span class="notion-property notion-property-title"><span class="notion-page-link"><span class="notion-page-title"><div class="notion-page-icon-inline notion-page-icon-image"><svg class="notion-page-title-icon notion-page-icon" alt="照片标题2" viewBox="0 0 30 30" width="16"><path d="M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H8V21z M8,25h14v-2H8V25z"></path></svg></div><span class="notion-page-title-text">照片标题2</span></span></span></span></div><div class="notion-collection-card-property"><span class="notion-property notion-property-text"></span></div></div></a><a class="notion-collection-card notion-collection-card-size-medium" href="/b13613d13ced4bc38306bc4f6543dc63"><div class="notion-collection-card-cover"><img style="object-fit:cover;object-position:center 100%" src="https://www.notion.so/images/page-cover/woodcuts_5.jpg" alt="照片标题3" loading="lazy" decoding="async"/></div><div class="notion-collection-card-body"><div class="notion-collection-card-property"><span class="notion-property notion-property-title"><span class="notion-page-link"><span class="notion-page-title"><div class="notion-page-icon-inline notion-page-icon-image"><svg class="notion-page-title-icon notion-page-icon" alt="照片标题3" viewBox="0 0 30 30" width="16"><path d="M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H8V21z M8,25h14v-2H8V25z"></path></svg></div><span class="notion-page-title-text">照片标题3</span></span></span></span></div><div class="notion-collection-card-property"><span class="notion-property notion-property-text"><form action="https://tangly1024.com/" target="_blank"><input type="submit" class="nested-form-link notion-link" value="https://tangly1024.com/"/></form></span></div></div></a></div></div></div></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-5a6b79ced0a848d6b76b26fc692e58ce" data-id="5a6b79ced0a848d6b76b26fc692e58ce"><span><div id="5a6b79ced0a848d6b76b26fc692e58ce" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5a6b79ced0a848d6b76b26fc692e58ce" title="10. 内嵌网页"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">10. 内嵌网页</span></span></h3><figure class="notion-asset-wrapper notion-asset-wrapper-embed notion-block-cb5bf5c7cf1a43619c28d47518181e11"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:486.99713134765625px"><iframe class="notion-asset-object-fit" src="https://docs.tangly1024.com/zh" title="iframe embed" frameBorder="0" allowfullscreen="" loading="lazy" scrolling="auto"></iframe></div></figure><div class="notion-blank notion-block-3b1fbd6015da44f3972264c1fcf34fd0"> </div><div class="notion-blank notion-block-7409a508b0a642779df6d1aa0cba4140"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-6fce841d739d4a3b92ff30d79d8604b5" data-id="6fce841d739d4a3b92ff30d79d8604b5"><span><div id="6fce841d739d4a3b92ff30d79d8604b5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6fce841d739d4a3b92ff30d79d8604b5" title="三. 多级目录"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">三. 多级目录</span></span></h2><div class="notion-text notion-block-709a5a8b390c46b1a756c2f8df854483">heading标题在博客中自动转为目录</div><div class="notion-row notion-block-63a6241a5d414889bdab6f8b5561a2a6"><div class="notion-column notion-block-543bc7f3536a4380b4817dbd6b6e183d" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><h3 class="notion-h notion-h2 notion-block-69d02aa464fb4e7db3f42147f023eaa5" data-id="69d02aa464fb4e7db3f42147f023eaa5"><span><div id="69d02aa464fb4e7db3f42147f023eaa5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#69d02aa464fb4e7db3f42147f023eaa5" title="二级目录1"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">二级目录1</span></span></h3><div class="notion-text notion-block-fc3096caf86c4dd491dfad56dcd3c33a">二级内容 1</div></div><div class="notion-spacer"></div><div class="notion-column notion-block-6161cf15f0b84ca5b9230c0ddcbdfb78" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><h3 class="notion-h notion-h2 notion-block-18ba9c792be2438290cb95fdffcb9fee" data-id="18ba9c792be2438290cb95fdffcb9fee"><span><div id="18ba9c792be2438290cb95fdffcb9fee" class="notion-header-anchor"></div><a class="notion-hash-link" href="#18ba9c792be2438290cb95fdffcb9fee" title="二级目录2"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">二级目录2</span></span></h3><div class="notion-text notion-block-c1ec96e470e24d1ebb50cc04f8b87067">二级内容2</div></div><div class="notion-spacer"></div></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-e4cc7c1af62c4707a73baf4533c4b727" data-id="e4cc7c1af62c4707a73baf4533c4b727"><span><div id="e4cc7c1af62c4707a73baf4533c4b727" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e4cc7c1af62c4707a73baf4533c4b727" title="二级目录3"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">二级目录3</span></span></h3><div class="notion-row notion-block-aa1d7f102ca84951b58aba163542c6af"><div class="notion-column notion-block-43579c2ff66f47e59907af29eaa35bcd" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><h4 class="notion-h notion-h3 notion-block-0240afd6d19c4d6980dce95d8e0b0310" data-id="0240afd6d19c4d6980dce95d8e0b0310"><span><div id="0240afd6d19c4d6980dce95d8e0b0310" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0240afd6d19c4d6980dce95d8e0b0310" title="三级目录3.1"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">三级目录3.1</span></span></h4><div class="notion-text notion-block-ceb90cce41ae471383e65cbd41ae839f">不同级别的heading代表不同级别的目录</div></div><div class="notion-spacer"></div><div class="notion-column notion-block-136025a0f34f4a698704550993040571" style="width:calc((100% - (1 * min(32px, 4vw))) * 0.5)"><h4 class="notion-h notion-h3 notion-block-11a570df014842518a1970a2e814043e" data-id="11a570df014842518a1970a2e814043e"><span><div id="11a570df014842518a1970a2e814043e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#11a570df014842518a1970a2e814043e" title="三级目录3.2"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">三级目录3.2</span></span></h4><div class="notion-text notion-block-2e846ad75b7e4e029736f4eafc2ab210">高一级目录嵌套低一级目录</div></div><div class="notion-spacer"></div></div><div class="notion-blank notion-block-c1ed1400af1c4f40b62aef89834d1c76"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-14884c1d845645c19fa2b894adc12da8" data-id="14884c1d845645c19fa2b894adc12da8"><span><div id="14884c1d845645c19fa2b894adc12da8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#14884c1d845645c19fa2b894adc12da8" title="四.模板说明"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">四.模板说明</span></span></h2><div class="notion-text notion-block-47f00c3069ee45dc80c37f8a049201ad">若要部署你的NotionNext项目，请复制该模板，并按照模板格式创建文章：</div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-43f7b968ea81499e97430a89c5bfcc8a" href="https://tanghh.notion.site/02ab3b8678004aa69e9e415905ef32a5?v=b7eb215720224ca5827bfaa5ef82cf2d"><div><div class="notion-bookmark-title">NOTION BLOG</div><div class="notion-bookmark-description">演示站点描述</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-text">https://tanghh.notion.site/02ab3b8678004aa69e9e415905ef32a5?v=b7eb215720224ca5827bfaa5ef82cf2d</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://tanghh.notion.site/image/https%3A%2F%2Fp1.qhimg.com%2Fbdm%2F1600_900_100%2Ft01e66d486b8e826270.jpg?table=collection&amp;id=4379bc14-5d22-453b-a153-12639616fc01&amp;spaceId=6c096b44-beb9-48ee-8f92-1efdde47f3a3&amp;width=2000&amp;userId=&amp;cache=v2" alt="NOTION BLOG" loading="lazy" decoding="async"/></div></a></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-c00a068061d34564a914fd171d3b9b7e" data-id="c00a068061d34564a914fd171d3b9b7e"><span><div id="c00a068061d34564a914fd171d3b9b7e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c00a068061d34564a914fd171d3b9b7e" title="五. 评论插件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">五. 评论插件</span></span></h2><div class="notion-text notion-block-dfeb7986b514428e90c9d86b0b59593f">系统支持 以下六种插件，并且可以同时开启，点击评论区的Tab来体验。</div><ul class="notion-list notion-list-disc notion-block-0791fb657ee24a61bab1d16bd29eef17"><li>Waline</li></ul><ul class="notion-list notion-list-disc notion-block-f40d8a5ba80540289a3dd3a3d9e2827f"><li>Giscus</li></ul><ul class="notion-list notion-list-disc notion-block-d6d993e9aba14d42b8f38355f6a4981a"><li>Valine</li></ul><ul class="notion-list notion-list-disc notion-block-cabf9151af3e47748ff16a27f0d8e95b"><li>GitTalk</li></ul><ul class="notion-list notion-list-disc notion-block-cb9dd9b9d83c469a8e1b7ddf69161c21"><li>Utterance</li></ul><ul class="notion-list notion-list-disc notion-block-2bfa1c43c2c445358540655d99b89f85"><li>Cusdis</li></ul></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux基础命令]]></title>
            <link>https://www.inzms.life//article/example-6</link>
            <guid>https://www.inzms.life//article/example-6</guid>
            <pubDate>Mon, 26 Sep 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[Linux基础命令]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-69f87bd90dd84fc4aff4b75a86ab580a"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-blue_background notion-h-indent-0 notion-block-e9ff32cada7d4a2fa7c1a5a0a3dcaa2b" data-id="e9ff32cada7d4a2fa7c1a5a0a3dcaa2b"><span><div id="e9ff32cada7d4a2fa7c1a5a0a3dcaa2b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e9ff32cada7d4a2fa7c1a5a0a3dcaa2b" title="Linux基础命令"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Linux基础命令</span></span></h2><details class="notion-toggle notion-block-e0c14dacee5d4fecaeca205d81b4a801"><summary><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-e0c14dacee5d4fecaeca205d81b4a801" data-id="e0c14dacee5d4fecaeca205d81b4a801"><span><div id="e0c14dacee5d4fecaeca205d81b4a801" class="notion-header-anchor"></div><span class="notion-h-title">Linux管理文件和目录的命令</span></span></h4></summary><div><div class="notion-text notion-block-77fe0514f7804d25b4beef0b21ce02d9">pwd：显示当前目录 ；</div><div class="notion-text notion-block-ea0869006420417baafa9ce55354c995">cd:改变所在目录；</div><div class="notion-text notion-block-0a5951cf36e149e3aab3c1c31dcc6c01">grep:在文件查找某字符；</div><div class="notion-text notion-block-3487868442374191b5c8c771f0f3447a">touch:创建文件；</div><div class="notion-text notion-block-be1640d2239f4031916e658f39763467">rm:删除文件；</div><div class="notion-text notion-block-fcb9917029ec48b497b88691a3066409">vi 编辑文件；</div><div class="notion-text notion-block-3b40965abbc8497b86e7bd86fba4f94d">Is:查看目录下的内容；</div><div class="notion-text notion-block-c8203a7ffd5447c2a189084f198dcf3d">cat:显示文件的内容；</div><div class="notion-text notion-block-72303f96cf3f4d71b22b83d4e031e2b8">cp:复制文件；</div><div class="notion-text notion-block-a82ad062d1bb42fca46c53ef5db97c95">mv:移动文件；</div><div class="notion-text notion-block-f78c4142643841c6b21dd24a8a71222b">rmdir:删除目录；</div></div></details><hr class="notion-hr notion-block-fe3abf8c2aa74218ae5e1905cb3a8533"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2d5bd912f9a34e64ae96e9db792c91a7" data-id="2d5bd912f9a34e64ae96e9db792c91a7"><span><div id="2d5bd912f9a34e64ae96e9db792c91a7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2d5bd912f9a34e64ae96e9db792c91a7" title="有关磁盘空间的命令："><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>有关磁盘空间的命令：</b></span></span></h3><hr class="notion-hr notion-block-afaca58bbc654587a90fc2e47314a7cc"/><details class="notion-toggle notion-block-54a2189b6d3a46c09e1034b6f80ce275"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-54a2189b6d3a46c09e1034b6f80ce275" data-id="54a2189b6d3a46c09e1034b6f80ce275"><span><div id="54a2189b6d3a46c09e1034b6f80ce275" class="notion-header-anchor"></div><span class="notion-h-title"><b>mouunt:挂载文件系统</b></span></span></h4></summary><div><div class="notion-text notion-block-b85e04f06f634c208ee84da27ac908d6">umount:卸载已挂载上的文件系统</div><div class="notion-text notion-block-edae4993e3b047d4924abb21bb4573f9">df:检查各个硬盘分区和已挂上来的文件系统的磁盘空间</div><div class="notion-text notion-block-d1ef9e22f8424dc591b79a97876fd23c">du:示文件目录和大小</div><div class="notion-text notion-block-053927b51e244a6a9dbcd34c58f42f39">fsck:主要检查和修复Linux 文件系统</div></div></details><details class="notion-toggle notion-block-e999a45c8ba5413191705fceb2279ba5"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-e999a45c8ba5413191705fceb2279ba5" data-id="e999a45c8ba5413191705fceb2279ba5"><span><div id="e999a45c8ba5413191705fceb2279ba5" class="notion-header-anchor"></div><span class="notion-h-title"><b>文件备份和压缩命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-b983149086554603b1aa94e9ac1e18bc">bzip2/bunzip2 :扩展名为bz2的压缩/解压缩工具</div><div class="notion-text notion-block-769774de2b9e42228aed83bcddce327e">gzip/gunzip:扩展名为gz的压缩/解压缩工具</div><div class="notion-text notion-block-b1a7f4ab97244898b8ab0bc9417b0e4b">zip/unzip:扩展名为zip的压缩/解压缩工具</div><div class="notion-text notion-block-001d2f71a2114d67b5687f6a3cb5691c">tar:创建备份和归档</div></div></details><details class="notion-toggle notion-block-9814fea6022a4350a9fceaff11695ddc"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-9814fea6022a4350a9fceaff11695ddc" data-id="9814fea6022a4350a9fceaff11695ddc"><span><div id="9814fea6022a4350a9fceaff11695ddc" class="notion-header-anchor"></div><span class="notion-h-title"><b>有关关机和查看系统信息的命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-6aa8fbbffee049a8bc23200d2cb1b321">shutdown:正常关机</div><div class="notion-text notion-block-3207be396216491ea5419b9a3de3e19f">reboot:重启计算机</div><div class="notion-text notion-block-cfee36b9ca4248159af9ca5a8520530e">ps:查看目前程序执行的情况</div><div class="notion-text notion-block-f8b6acc7b077428da339f728e4089c95">top:查看目前程序执行的情景和内存使用情况</div><div class="notion-text notion-block-18b34084ab82489dbc6342da9662dc28">kill:终止一个进程</div><div class="notion-text notion-block-46fdfed02e6342eabdad2f0f4f0c4666">date:更改或查看目前日期</div><div class="notion-text notion-block-39cd209b1654433db0a91668e34cbff2">cal:显示月历及年历</div></div></details><details class="notion-toggle notion-block-93ff45ac380b42b08d5a33fbb7022ded"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-93ff45ac380b42b08d5a33fbb7022ded" data-id="93ff45ac380b42b08d5a33fbb7022ded"><span><div id="93ff45ac380b42b08d5a33fbb7022ded" class="notion-header-anchor"></div><span class="notion-h-title"><b>管理使用者和设立权限的命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-8b6475b632d744719894bf633bcf8b3c">chmod：用来改变权限</div><div class="notion-text notion-block-362b3f46a64a47b294e12eb20047d83a">useradd:用来增加用户</div><div class="notion-text notion-block-3960d0cf6e46467b8bdeaf8149665bef">su:用来修改用户</div></div></details><details class="notion-toggle notion-block-4c768a2160dd48ec9449d27d37ce6be9"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-4c768a2160dd48ec9449d27d37ce6be9" data-id="4c768a2160dd48ec9449d27d37ce6be9"><span><div id="4c768a2160dd48ec9449d27d37ce6be9" class="notion-header-anchor"></div><span class="notion-h-title"><b>线上查询的命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-98de06d0ecee4167997798dfc7319d87">man:查询解释一个命令使用方法，以及这个命令的说明事项</div><div class="notion-text notion-block-4a0ec8d3cdfd4966a3aec55d20623ebc">locate:定位文件和目录</div><div class="notion-text notion-block-755f5d757c0e4b758bcd0921a0e1d13e">whatis：寻找某个命令的含义</div></div></details><details class="notion-toggle notion-block-6aa1e7af9da046e4806275d9875f3d89"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-6aa1e7af9da046e4806275d9875f3d89" data-id="6aa1e7af9da046e4806275d9875f3d89"><span><div id="6aa1e7af9da046e4806275d9875f3d89" class="notion-header-anchor"></div><span class="notion-h-title"><b>文件阅读命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-013806e8c2de4958a28ea522431d55fc">head:查看文件的开头部分</div><div class="notion-text notion-block-66685ac49d3e45b19a4c864b36b41510">tail:查看文件末尾的10行</div><div class="notion-text notion-block-534ef02f88924ce2b1aef3b64bacec96">less:less是一个分页工具，它允许一页一页的查看信息</div><div class="notion-text notion-block-6584882d0a2d45129504cf1441132d6d">more:more 是一个分页工具，它允许一页一页的查看信息</div></div></details><details class="notion-toggle notion-block-3654ced4897e4c3dbfe5c6885189327f"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-3654ced4897e4c3dbfe5c6885189327f" data-id="3654ced4897e4c3dbfe5c6885189327f"><span><div id="3654ced4897e4c3dbfe5c6885189327f" class="notion-header-anchor"></div><span class="notion-h-title"><b>网络操作命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-8ecac870fd774d34823535c72c72187c">ftp:传送文件</div><div class="notion-text notion-block-904292204f24411e82464af77e4048c9">bye:结束连线并结束程序</div><div class="notion-text notion-block-9373d4431b6545c28d24c5e0c68f6967">ping:检测主机</div><div class="notion-text notion-block-12f13b9932a842a68b7edce28d289add">telnet:远端登录</div><div class="notion-text notion-block-178cd6577b06455e877df184765b6cdb">rlogin:远端登入</div><div class="notion-text notion-block-e4f24bba6a064cf284ec55613c979a57">netstat显示网络状态</div></div></details><details class="notion-toggle notion-block-6801cbb3034147e2aa568b3922c01cc8"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-6801cbb3034147e2aa568b3922c01cc8" data-id="6801cbb3034147e2aa568b3922c01cc8"><span><div id="6801cbb3034147e2aa568b3922c01cc8" class="notion-header-anchor"></div><span class="notion-h-title"><b>其他命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-ed4892ee6db442cb87e9dee9686bb98a">echo：显示一字串</div><div class="notion-text notion-block-a6173b6c08244b9db17e1a7a92f1afac">passwd：修改密码</div><div class="notion-text notion-block-ab2ad971d9d046939a3c1336c3c8d7fe">clear:清除显示器</div><div class="notion-text notion-block-33366b2ab26246f3874618ebda2d9712">lpq:查看在打印队列中等待的作业</div><div class="notion-text notion-block-c97f48633ecb407fbd6cd533e20c4553">lpr:打印</div><div class="notion-text notion-block-17553f0d646344df99371e9804abaf45">lprm:取消打印队列的作业</div></div></details><details class="notion-toggle notion-block-fb5018fe8124412480341190c6ea0319"><summary><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-fb5018fe8124412480341190c6ea0319" data-id="fb5018fe8124412480341190c6ea0319"><span><div id="fb5018fe8124412480341190c6ea0319" class="notion-header-anchor"></div><span class="notion-h-title"><b>bash常用命令：</b></span></span></h4></summary><div><div class="notion-text notion-block-3927d1fb790449a19054fb370b9ba731">ctrl +c :强制终止当前命令</div><div class="notion-text notion-block-d1c2484ef0b141178facff23ae3c6933">ctrl +l :清屏</div><div class="notion-text notion-block-a8293c2b51d8474590574d18e30edf53">ctrl +a :光标移动到命令行首</div><div class="notion-text notion-block-b2dc94b8454248ceaff3e6e270f370fe">ctrl +e :光标移动到命令行尾</div><div class="notion-text notion-block-fc839ce5ac814e678ec45e183e223286">ctrl +u :从光标所在位置删除到行首</div><div class="notion-text notion-block-e6b366a8e7c945c9bcfe3ce4bcc8b537">ctrl +z :把命令放入后台</div><div class="notion-text notion-block-b0b8d481dd1e49df9cd88ed215fefaf8">ctrl +z :在历史命令中搜索</div></div></details></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>