了解Linux Shell如何解析XML文件 (linux shell 解析xml)

XML(扩展标记语言)是一种常用的数据格式,在互联网应用中广泛使用。Linux Shell是一种强大的命令行解释器,其具有强大的文本处理和字符串操作功能,并且可以与各种应用程序交互。在本文中,我们将探讨如何使用Shell脚本解析XML文件。

1. XML基础

在开始解析XML文件之前,首先需要了解XML的基础。XML是一种基于标记的语言,用于描述数据。以下是一个简单的XML文件示例:

“`

Learning XML

Erik T. Ray

2023

39.95

XQuery Kick Start

James McGovern

Per Bothner

Kurt Cagle

James Linn

Vdyanathan Nagarajan

2023

49.99

“`

在XML中,所有元素被包含在尖括号()中,并且具有属性和值。XML文件中的标记标识了元素的开始和结束位置,并且可以嵌套。在上面的示例中,“是根元素,出现在文件的开头和结尾处。“是一个子元素,具有category属性,该属性值为“web”。 ``元素具有lang属性和文本值“Learning XML”。</p> <p><p>2. 使用xmllint</p> <p>在Linux上,可以使用`xmllint`命令解析XML文件。`xmllint`是一种XML工具,可以用于验证、转换和格式化XML文档,并且可以输出文档的树形结构。以下是一个例子:</p> <p>“`sh</p> <p>$ xmllint –format example.xml</p> <p>“`</p> <p>该命令将格式化并输出XML文件的树状结构。</p> <p>`xmllint`还可以使用XPath(一种基于XML的查询语言)来查询XML文件中的数据。以下是一个简单的例子:</p> <p>“`sh</p> <p>$ xmllint –xpath ‘//book[year>2023]/title/text()’ example.xml</p> <p>“`</p> <p>该命令将查询XML文件中出版年份大于2023年的书籍的标题。</p> <p>`xmllint`是一种强大的工具,但它需要较长的命令行参数,并且不太适合高级脚本编程。在下一节中,我们将探索如何在Shell脚本中使用XML解析器。</p> <p>3. 使用Shell XML解析器</p> <p>在Shell脚本中,可以使用一些XML解析器库,如xmllint、libxml2和xmlstarlet,来解析和查询XML文件。</p> <p>其中,xmlstarlet是一种轻量级命令行XML工具,具有像XPath、XSLT、文本处理等功能。以下是一个简单的例子:</p> <p>“`sh</p> <p>$ xml sel -t -v ‘/bookstore/book[year>2023]/title’ example.xml</p> <p>“`</p> <p>该命令使用XPath表达式选择XML文件中具有发布年份大于2023的书籍的标题。</p> <p>Shell脚本还可以使用另一个名为 xml2 的工具来将XML文件转换为简化的“键-值”格式,该格式可以很容易地在Shell脚本中解析。以下是一个示例:</p> <p>“`sh</p> <p>$ xml2 </p> <p>“`</p> <p>该命令将生成一个用于Shell解析的格式友好的简化XML文件。</p> <p>4. 解析XML文件的Shell脚本示例</p> <p>以下是一个Shell脚本示例,可以解析XML文件并输出书名和价格。</p> <p>“`sh</p> <p>#!/bin/bash</p> <p># 使用xml2命令将XML文件转换为简化格式</p> <p>xml=$(xml2 </p> <p># 分别获取书名和价格的值</p> <p>title=$(echo “$xml” | grep “bookstore/book/title=” | cut -d= -f2-)</p> <p>price=$(echo “$xml” | grep “bookstore/book/price=” | cut -d= -f2-)</p> <p># 打印书名和价格</p> <p>echo “书名: $title”</p> <p>echo “价格: $price”</p> <p>“`</p> <p>该脚本使用`xml2`命令将XML文件转换为简化格式,然后使用`grep`和`cut`命令从简化格式中提取书名和价格的值,最后将这些值打印到控制台上。</p> <p>通过这个简单的示例,我们可以看到Shell脚本可以很容易地解析XML文件,并且可以与其他命令行工具结合使用。在实际应用中,Shell脚本和XML解析器库可以用于数据提取、数据转换和数据处理等方面。</p> <p>结论</p> </div> <div id="pay-single-box"></div> <div class="article-copyright"><br/><a href="https://www.dbs724.com">数据运维技术</a> » <a href="https://www.dbs724.com/445594.html">了解Linux Shell如何解析XML文件 (linux shell 解析xml)</a></div> <div class="ripro_gg_wrap pc"></div><div class="article-footer"> <div class="xshare"> <span class="xshare-title">分享到:</span> <a href="" etap="share" data-share="qq" class="share-qq"><i class="fa fa-qq"></i></a> <a href="" etap="share" data-share="weibo" class="share-weibo"><i class="fa fa-weibo"></i></a> <a href="javascript:;" class="btn-bigger-cover share-weixin" data-nonce="96bbd8d287" data-id="445594" data-action="create-bigger-image" title="海报分享" id="bigger-cover"><i class="fa fa-paper-plane"></i></a> </div> </div> </div> </div> </article> <div class="entry-navigation"> <nav class="article-nav"> <span class="article-nav-prev">上一篇<br><a href="https://www.dbs724.com/352206.html" rel="prev">VPS限速实用技巧,让你轻松解决网络瓶颈问题 (怎么对vps限速)</a></span> <span class="article-nav-next">下一篇<br><a href="https://www.dbs724.com/424921.html" rel="next">高效实现linux mysql数据同步的工具推荐 (linux mysql 同步工具)</a></span> </nav> </div> <!-- # 标准网格模式... --> <div class="related-posts-grid"> <h4 class="u-border-title">相关推荐</h4> <div class="row"> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322829.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="极速突破Redis实现线程间通信(redis线程间通信)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322829.html" title="极速突破Redis实现线程间通信(redis线程间通信)" rel="bookmark">极速突破Redis实现线程间通信(redis线程间通信)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322824.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="面对Redis,线程阻塞到底有没有(redis线程阻塞吗)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322824.html" title="面对Redis,线程阻塞到底有没有(redis线程阻塞吗)" rel="bookmark">面对Redis,线程阻塞到底有没有(redis线程阻塞吗)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322825.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="实现高性能的Redis线程阻塞机制(redis 线程阻塞)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322825.html" title="实现高性能的Redis线程阻塞机制(redis 线程阻塞)" rel="bookmark">实现高性能的Redis线程阻塞机制(redis 线程阻塞)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322823.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="解决Redis线程阻塞问题的有效方法(redis线程阻塞怎么办)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322823.html" title="解决Redis线程阻塞问题的有效方法(redis线程阻塞怎么办)" rel="bookmark">解决Redis线程阻塞问题的有效方法(redis线程阻塞怎么办)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322828.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="深入解析Redis线程错误(redis 线程错误)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322828.html" title="深入解析Redis线程错误(redis 线程错误)" rel="bookmark">深入解析Redis线程错误(redis 线程错误)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322827.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="深入探究Redis线程安全问题(redis线程问题)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322827.html" title="深入探究Redis线程安全问题(redis线程问题)" rel="bookmark">深入探究Redis线程安全问题(redis线程问题)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322830.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="玩转Redis线程锁从Demo开始(redis线程锁demo)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322830.html" title="玩转Redis线程锁从Demo开始(redis线程锁demo)" rel="bookmark">玩转Redis线程锁从Demo开始(redis线程锁demo)</a></h4> </header> </div> </article> </div> <div class="col-6 col-sm-3 col-md-3 mt-10 mb-10"> <article class="post"> <div class="entry-media"> <div class="placeholder" style="padding-bottom: 66.666666666667%;"> <a href="https://www.dbs724.com/322826.html"> <img class="lazyload" data-src="https://www.dbs724.com/wp-content/themes/ripro/assets/images/thumb/1.jpg" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="利用Redis构建线程队列(redis 线程队列)"> </a> </div> </div> <div class="entry-wrapper"> <header class="entry-header"> <h4 class="entry-title"><a href="https://www.dbs724.com/322826.html" title="利用Redis构建线程队列(redis 线程队列)" rel="bookmark">利用Redis构建线程队列(redis 线程队列)</a></h4> </header> </div> </article> </div> </div> </div> </main> </div> </div> <div class="sidebar-column col-lg-3"> <aside class="widget-area"> <div id="custom_html-3" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"></div></div><div id="random_posts-2" class="widget widget_random_posts"><h5 class="widget-title">随机文章</h5><ul><li><a href="https://www.dbs724.com/199767.html" title="轻松一步:解决Redis页面清理问题(页面清除redis)">轻松一步:解决Redis页面清理问题(页面清除redis)</a></li><li><a href="https://www.dbs724.com/199761.html" title="改善页面访问性能:使用Redis缓存(页面访问redis)">改善页面访问性能:使用Redis缓存(页面访问redis)</a></li><li><a href="https://www.dbs724.com/199765.html" title="使用Redis加快Web页面加载速度(页面缓存到redis)">使用Redis加快Web页面加载速度(页面缓存到redis)</a></li><li><a href="https://www.dbs724.com/199769.html" title="Redis让页面查看变得更轻松(页面查看 redis)">Redis让页面查看变得更轻松(页面查看 redis)</a></li><li><a href="https://www.dbs724.com/199764.html" title="页面访问统计技术:基于Redis的经验(页面统计redis)">页面访问统计技术:基于Redis的经验(页面统计redis)</a></li><li><a href="https://www.dbs724.com/199762.html" title="页面快速从Redis中获取数据(页面读取redis数据)">页面快速从Redis中获取数据(页面读取redis数据)</a></li><li><a href="https://www.dbs724.com/199763.html" title="redis让页面缓存更轻松切换到首页(页面缓存首页redis)">redis让页面缓存更轻松切换到首页(页面缓存首页redis)</a></li><li><a href="https://www.dbs724.com/199770.html" title="从Redis读取,轻松实现页面数据提升(页面数据从redis读取)">从Redis读取,轻松实现页面数据提升(页面数据从redis读取)</a></li><li><a href="https://www.dbs724.com/199768.html" title="实现网站高效:Redis页面测试(页面测试redis)">实现网站高效:Redis页面测试(页面测试redis)</a></li><li><a href="https://www.dbs724.com/199766.html" title="Redis助力网页浏览次数增加(页面浏览次数redis)">Redis助力网页浏览次数增加(页面浏览次数redis)</a></li></ul></div><div id="custom_html-11" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"></div></div><div id="custom_html-9" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"></div></div><div id="custom_html-7" class="widget_text widget widget_custom_html"><h5 class="widget-title">最近更新</h5><div class="textwidget custom-html-widget"><li><a href="https://www.dbs724.com/476401.html">多种方式教你打开windows电脑的服务</a></li><li><a href="https://www.dbs724.com/199466.html">Redis 为何可用于验证码的存取(验证码放redis吗)</a></li><li><a href="https://www.dbs724.com/193430.html">串MSSQL中实现字符串拼接的方法简介(mssql 拼接字符)</a></li><li><a href="https://www.dbs724.com/194435.html">如何使用MSSQL实例名连接数据库(mssql实例名连接)</a></li><li><a href="https://www.dbs724.com/197283.html">MSSQL安装:使用命令行下载(mssql下载命令)</a></li><li><a href="https://www.dbs724.com/199649.html">启动项目遇到Redis报错,怎么办?(项目启动redis报错)</a></li><li><a href="https://www.dbs724.com/198126.html">mssql2012秘钥精选:完美激活SQL Server 2012(mssql2012秘钥)</a></li><li><a href="https://www.dbs724.com/196601.html">MSSQL数据库中的数字均匀分配(mssql数字均分)</a></li><li><a href="https://www.dbs724.com/196747.html">MSSQL默认排序调整:一个正确的示范(mssql修改 默认排序)</a></li><li><a href="https://www.dbs724.com/195430.html">开数据库MSSQL命令操作指南:如何打开数据库(mssql命令如何打)</a></li></div></div><div id="tag_cloud-2" class="widget widget_tag_cloud"><h5 class="widget-title">标签</h5><div class="tagcloud"><a href="https://www.dbs724.com/tag/linux" class="tag-cloud-link tag-link-58 tag-link-position-1" style="font-size: 21.629139072848pt;" aria-label="Linux (64,955个项目)">Linux</a> <a href="https://www.dbs724.com/tag/linux%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-137 tag-link-position-2" style="font-size: 21.629139072848pt;" aria-label="Linux教程 (63,841个项目)">Linux教程</a> <a href="https://www.dbs724.com/tag/linux%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-138 tag-link-position-3" style="font-size: 21.629139072848pt;" aria-label="Linux资讯 (63,841个项目)">Linux资讯</a> <a href="https://www.dbs724.com/tag/macos" class="tag-cloud-link tag-link-73 tag-link-position-4" style="font-size: 12.403973509934pt;" aria-label="MacOS (667个项目)">MacOS</a> <a href="https://www.dbs724.com/tag/macos%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-144 tag-link-position-5" style="font-size: 12.403973509934pt;" aria-label="MacOS教程 (666个项目)">MacOS教程</a> <a href="https://www.dbs724.com/tag/macos%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-145 tag-link-position-6" style="font-size: 12.403973509934pt;" aria-label="MacOS资讯 (666个项目)">MacOS资讯</a> <a href="https://www.dbs724.com/tag/mongodb" class="tag-cloud-link tag-link-49 tag-link-position-7" style="font-size: 12.82119205298pt;" aria-label="MongoDB (817个项目)">MongoDB</a> <a href="https://www.dbs724.com/tag/mongodb%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-146 tag-link-position-8" style="font-size: 11.384105960265pt;" aria-label="MongoDB教程 (394个项目)">MongoDB教程</a> <a href="https://www.dbs724.com/tag/mongodb%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-147 tag-link-position-9" style="font-size: 11.384105960265pt;" aria-label="MongoDB资讯 (394个项目)">MongoDB资讯</a> <a href="https://www.dbs724.com/tag/mssql" class="tag-cloud-link tag-link-80 tag-link-position-10" style="font-size: 11.708609271523pt;" aria-label="MSSQL (465个项目)">MSSQL</a> <a href="https://www.dbs724.com/tag/mssql%e9%94%99%e8%af%af" class="tag-cloud-link tag-link-107 tag-link-position-11" style="font-size: 8.3245033112583pt;" aria-label="MSSQL错误 (86个项目)">MSSQL错误</a> <a href="https://www.dbs724.com/tag/mysql" class="tag-cloud-link tag-link-15 tag-link-position-12" style="font-size: 20.933774834437pt;" aria-label="MySQL (46,004个项目)">MySQL</a> <a href="https://www.dbs724.com/tag/mysql%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-130 tag-link-position-13" style="font-size: 20.887417218543pt;" aria-label="mysql教程 (44,967个项目)">mysql教程</a> <a href="https://www.dbs724.com/tag/mysql%e7%bb%b4%e6%8a%a4" class="tag-cloud-link tag-link-104 tag-link-position-14" style="font-size: 15.278145695364pt;" aria-label="MySQL维护 (2,785个项目)">MySQL维护</a> <a href="https://www.dbs724.com/tag/mysql%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-136 tag-link-position-15" style="font-size: 20.887417218543pt;" aria-label="MySQL资讯 (44,271个项目)">MySQL资讯</a> <a href="https://www.dbs724.com/tag/neo4j" class="tag-cloud-link tag-link-46 tag-link-position-16" style="font-size: 8.046357615894pt;" aria-label="Neo4j (74个项目)">Neo4j</a> <a href="https://www.dbs724.com/tag/neo4j%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-140 tag-link-position-17" style="font-size: 8pt;" aria-label="Neo4j教程 (73个项目)">Neo4j教程</a> <a href="https://www.dbs724.com/tag/neo4j%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-141 tag-link-position-18" style="font-size: 8pt;" aria-label="Neo4j资讯 (73个项目)">Neo4j资讯</a> <a href="https://www.dbs724.com/tag/oracle" class="tag-cloud-link tag-link-11 tag-link-position-19" style="font-size: 21.953642384106pt;" aria-label="ORACLE (76,362个项目)">ORACLE</a> <a href="https://www.dbs724.com/tag/oracle%e4%bc%98%e5%8c%96" class="tag-cloud-link tag-link-66 tag-link-position-20" style="font-size: 8.6953642384106pt;" aria-label="Oracle优化 (104个项目)">Oracle优化</a> <a href="https://www.dbs724.com/tag/oracle%e5%86%85%e9%83%a8%e8%a7%86%e5%9b%be" class="tag-cloud-link tag-link-124 tag-link-position-21" style="font-size: 14.119205298013pt;" aria-label="oracle内部视图 (1,564个项目)">oracle内部视图</a> <a href="https://www.dbs724.com/tag/oracle%e5%8f%82%e6%95%b0" class="tag-cloud-link tag-link-127 tag-link-position-22" style="font-size: 8.6026490066225pt;" aria-label="oracle参数 (100个项目)">oracle参数</a> <a href="https://www.dbs724.com/tag/oracle%e5%bc%80%e5%8f%91" class="tag-cloud-link tag-link-126 tag-link-position-23" style="font-size: 14.119205298013pt;" aria-label="oracle开发 (1,564个项目)">oracle开发</a> <a href="https://www.dbs724.com/tag/oracle%e5%bc%82%e5%b8%b8%e4%bf%ae%e5%a4%8d" class="tag-cloud-link tag-link-95 tag-link-position-24" style="font-size: 14.629139072848pt;" aria-label="oracle异常修复 (1,992个项目)">oracle异常修复</a> <a href="https://www.dbs724.com/tag/oracle%e6%95%85%e9%9a%9c%e5%a4%84%e7%90%86" class="tag-cloud-link tag-link-94 tag-link-position-25" style="font-size: 17.827814569536pt;" aria-label="oracle故障处理 (9,728个项目)">oracle故障处理</a> <a href="https://www.dbs724.com/tag/oracle%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-125 tag-link-position-26" style="font-size: 22pt;" aria-label="oracle教程 (78,327个项目)">oracle教程</a> <a href="https://www.dbs724.com/tag/oracle%e7%bb%b4%e6%8a%a4" class="tag-cloud-link tag-link-96 tag-link-position-27" style="font-size: 17.827814569536pt;" aria-label="oracle维护 (9,728个项目)">oracle维护</a> <a href="https://www.dbs724.com/tag/oracle%e8%a7%86%e5%9b%be" class="tag-cloud-link tag-link-123 tag-link-position-28" style="font-size: 12.12582781457pt;" aria-label="oracle视图 (579个项目)">oracle视图</a> <a href="https://www.dbs724.com/tag/oracle%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-139 tag-link-position-29" style="font-size: 21.953642384106pt;" aria-label="ORACLE资讯 (75,085个项目)">ORACLE资讯</a> <a href="https://www.dbs724.com/tag/oracle%e8%bf%9c%e7%a8%8b%e7%bb%b4%e6%8a%a4" class="tag-cloud-link tag-link-97 tag-link-position-30" style="font-size: 14.629139072848pt;" aria-label="oracle远程维护 (1,992个项目)">oracle远程维护</a> <a href="https://www.dbs724.com/tag/ora%e9%94%99%e8%af%af%e7%a0%81" class="tag-cloud-link tag-link-93 tag-link-position-31" style="font-size: 14.443708609272pt;" aria-label="ORA错误码 (1,822个项目)">ORA错误码</a> <a href="https://www.dbs724.com/tag/redis" class="tag-cloud-link tag-link-50 tag-link-position-32" style="font-size: 20.099337748344pt;" aria-label="Redis (30,078个项目)">Redis</a> <a href="https://www.dbs724.com/tag/redis%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-134 tag-link-position-33" style="font-size: 20.006622516556pt;" aria-label="Redis教程 (29,067个项目)">Redis教程</a> <a href="https://www.dbs724.com/tag/redis%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-135 tag-link-position-34" style="font-size: 20.006622516556pt;" aria-label="Redis资讯 (29,067个项目)">Redis资讯</a> <a href="https://www.dbs724.com/tag/sqlserver" class="tag-cloud-link tag-link-25 tag-link-position-35" style="font-size: 19.218543046358pt;" aria-label="SQLServer (19,346个项目)">SQLServer</a> <a href="https://www.dbs724.com/tag/sqlserver%e6%8a%a5%e9%94%99" class="tag-cloud-link tag-link-108 tag-link-position-36" style="font-size: 8.3245033112583pt;" aria-label="SQLServer报错 (86个项目)">SQLServer报错</a> <a href="https://www.dbs724.com/tag/sqlserver%e6%95%99%e7%a8%8b" class="tag-cloud-link tag-link-142 tag-link-position-37" style="font-size: 19.079470198675pt;" aria-label="SQLServer教程 (18,161个项目)">SQLServer教程</a> <a href="https://www.dbs724.com/tag/sqlserver%e8%b5%84%e8%ae%af" class="tag-cloud-link tag-link-143 tag-link-position-38" style="font-size: 19.079470198675pt;" aria-label="SQLServer资讯 (18,161个项目)">SQLServer资讯</a> <a href="https://www.dbs724.com/tag/sql%e4%bf%ae%e5%a4%8d" class="tag-cloud-link tag-link-109 tag-link-position-39" style="font-size: 8.3245033112583pt;" aria-label="SQL修复 (86个项目)">SQL修复</a> <a href="https://www.dbs724.com/tag/sql%e5%bc%82%e5%b8%b8" class="tag-cloud-link tag-link-110 tag-link-position-40" style="font-size: 8.3245033112583pt;" aria-label="SQL异常 (86个项目)">SQL异常</a> <a href="https://www.dbs724.com/tag/sql%e8%bf%9c%e7%a8%8b%e5%a4%84%e7%90%86" class="tag-cloud-link tag-link-111 tag-link-position-41" style="font-size: 8.3245033112583pt;" aria-label="SQL远程处理 (86个项目)">SQL远程处理</a> <a href="https://www.dbs724.com/tag/windows" class="tag-cloud-link tag-link-75 tag-link-position-42" style="font-size: 8.8344370860927pt;" aria-label="Windows (110个项目)">Windows</a> <a href="https://www.dbs724.com/tag/%e6%8a%80%e6%9c%af%e6%96%87%e6%a1%a3" class="tag-cloud-link tag-link-13 tag-link-position-43" style="font-size: 17.132450331126pt;" aria-label="技术文档 (6,902个项目)">技术文档</a> <a href="https://www.dbs724.com/tag/%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f" class="tag-cloud-link tag-link-8 tag-link-position-44" style="font-size: 13.748344370861pt;" aria-label="操作系统 (1,300个项目)">操作系统</a> <a href="https://www.dbs724.com/tag/%e6%95%b0%e6%8d%ae%e5%ba%93" class="tag-cloud-link tag-link-14 tag-link-position-45" style="font-size: 14.675496688742pt;" aria-label="数据库 (2,027个项目)">数据库</a></div> </div><div id="custom_html-12" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"></div></div></aside> </div> </div> </div> </div><!-- end sitecoent --> <footer class="site-footer"> <div class="container"> <div class="footer-widget"> <div class="row"> <div class="col-xs-12 col-sm-6 col-md-3 widget--about"> <div class="widget--content"> <div class="footer--logo mb-20"> <img class="tap-logo" src="https://www.dbs724.com/wp-content/uploads/2022/06/1655696806-3609d62f8271ca9.png" data-dark="https://www.dbs724.com/wp-content/uploads/2022/06/1655696806-3609d62f8271ca9.png" alt="数据运维技术"> </div> <p class="mb-10">技术标签:安装配置、性能优化、备份恢复、异常处理、数据迁移、咨询服务。</p> </div> </div> <!-- .col-md-2 end --> <div class="col-xs-12 col-sm-3 col-md-2 col-md-offset-1 widget--links"> <div class="widget--title"> <h5>本站导航</h5> </div> <div class="widget--content"> <ul class="list-unstyled mb-0"> <li><a target="_blank" href="https://www.dbs724.com/service">服务范围</a></li><li><a target="_blank" href="https://www.dbs724.com/about">关于我们</a></li><li><a target="_blank" href="https://www.dbs724.com/privacy">隐私政策</a></li> </ul> </div> </div> <!-- .col-md-2 end --> <div class="col-xs-12 col-sm-3 col-md-2 widget--links"> <div class="widget--title"> <h5>技术文章</h5> </div> <div class="widget--content"> <ul class="list-unstyled mb-0"> <li><a target="_blank" href="https://www.dbs724.com/db">数据库技术</a></li><li><a target="_blank" href="https://www.dbs724.com/os">操作系统技术</a></li><li><a target="_blank" href="https://www.dbs724.com/jc">教程服务</a></li> </ul> </div> </div> <!-- .col-md-2 end --> <div class="col-xs-12 col-sm-12 col-md-4 widget--newsletter"> <div class="widget--title"> <h5>快速搜索</h5> </div> <div class="widget--content"> <form class="newsletter--form mb-30" action="https://www.dbs724.com/" method="get"> <input type="text" class="form-control" name="s" placeholder="关键词"> <button type="submit"><i class="fa fa-arrow-right"></i></button> </form> <h6>数据恢复、异常处理、MySQL、Oracle</h6> </div> </div> </div> </div> <div class="site-info"> 本站部分资源来自互联网收集,仅供用于学习和交流,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站站长删除<br /> © 2020 Theme by - <a href="https://www.dbs724.com" target="_blank" rel="noreferrer nofollow">数据服务</a> . All rights reserved <a href="https://beian.miit.gov.cn" target="_blank" class="text" rel="noreferrer nofollow"> 苏ICP备15021567号</a> <a href="https://beian.mps.gov.cn/#/query/webSearch?code=32011102010671" rel="noreferrer" target="_blank">苏公网安备32011102010671</a> <br> </div> </div> </footer> <div class="rollbar"> <div class="rollbar-item tap-qq" etap="tap-qq"><a target="_blank" title="QQ咨询" href="http://wpa.qq.com/msgrd?v=3&uin=290190032&site=qq&menu=yes"><i class="fa fa-qq"></i></a></div> <div class="rollbar-item tap-blog-style" etap="tap-blog-style" data-id="1" title="博客模式"><i class="fa fa-list"></i></div> <div class="rollbar-item" etap="to_full" title="全屏页面"><i class="fa fa-arrows-alt"></i></div> <div class="rollbar-item" etap="to_top" title="返回顶部"><i class="fa fa-angle-up"></i></div> </div> <div class="dimmer"></div> <div id="popup-signup" class="popup-signup fade" style="display: none;"> <div class="register-login-modal" role="document"> <div class="modal-content"> <div class="modal-body"> <img class="popup-logo" src="https://www.dbs724.com/wp-content/uploads/2022/06/1655696806-3609d62f8271ca9.png" data-dark="https://www.dbs724.com/wp-content/uploads/2022/06/1655696806-3609d62f8271ca9.png" alt="数据运维技术"> <!-- Nav tabs --> <ul class="nav nav-tabs"> <li class="active"><a href="#login" data-toggle="login">登录</a> </li> <li><a href="#signup" data-toggle="signup">注册</a> </li> </ul> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane fade in active" id="login"> <div class="signup-form-container text-center"> <form class="mb-0"> <div class="form-group"> <input type="text" class="form-control" name="username" placeholder="*用户名或邮箱"> </div> <div class="form-group"> <input type="password" class="form-control" name="password" placeholder="*密码"> </div> <button type="button" class="go-login btn btn--primary btn--block"><i class="fa fa-bullseye"></i> 安全登录</button> <!-- <a href="#" class="forget-password">忘记密码?</a> --> </form> <!-- form end --> </div> <!-- .signup-form end --> </div> <div class="tab-pane fade in" id="signup"> <form class="mb-0"> <div class="form-group"> <input type="text" class="form-control" name="user_name" placeholder="输入英文用户名"> </div> <!-- .form-group end --> <div class="form-group"> <input type="email" class="form-control" name="user_email" placeholder="绑定邮箱"> </div> <!-- .form-group end --> <div class="form-group"> <input type="password" class="form-control" name="user_pass" placeholder="密码最小长度为6"> </div> <div class="form-group"> <input type="password" class="form-control" name="user_pass2" placeholder="再次输入密码"> </div> <button type="button" class="go-register btn btn--primary btn--block"><i class="fa fa-bullseye"></i> 立即注册</button> </form> <!-- form end --> </div> </div> <a target="_blank" href="https://www.dbs724.com/wp-login.php?action=lostpassword" class="rest-password">忘记密码?</a> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /.modal --> </div> <div class="off-canvas"> <div class="canvas-close"><i class="mdi mdi-close"></i></div> <div class="logo-wrapper"> <a href="https://www.dbs724.com/"> <img class="logo regular" src="https://www.dbs724.com/wp-content/uploads/2022/06/1655696806-3609d62f8271ca9.png" alt="数据运维技术"> </a> </div> <div class="mobile-menu hidden-lg hidden-xl"></div> <aside class="widget-area"> </aside> </div> <script> console.log("SQL 请求数:77"); console.log("页面生成耗时: 0.60011"); </script> <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> <script>LA.init({id: "Jl4g3Wa27APmJARl",ck: "Jl4g3Wa27APmJARl"})</script> <script id="imwpf-this-page"> var g_this_page = { "type": "post", "id": 445594, "terms": [{"id":null,"tax":null}] };console.log(g_this_page); </script><div class="imwpcache_status_ok"></div><script type='text/javascript' src='//www.dbs724.com/wp-content/themes/ripro/assets/js/plugins.js?ver=9.0' id='plugins-js'></script> <script type='text/javascript' id='app-js-extra'> /* <![CDATA[ */ var caozhuti = {"site_name":"\u6570\u636e\u8fd0\u7ef4\u6280\u672f","home_url":"https:\/\/www.dbs724.com","ajaxurl":"https:\/\/www.dbs724.com\/wp-admin\/admin-ajax.php","is_singular":"1","tencent_captcha":{"is":"","appid":""},"infinite_load":"\u52a0\u8f7d\u66f4\u591a","infinite_loading":"<i class=\"fa fa-spinner fa-spin\"><\/i> \u52a0\u8f7d\u4e2d...","site_notice":{"is":"0","color":"#fd7300","html":"<div class=\"notify-content\"><h3><i class=\"fa fa-bell-o mr-2\"><\/i>\u6570\u636e\u670d\u52a1\u516c\u544a<\/h3><div>\u672c\u7ad9\u4e3b\u8981\u63d0\u4f9b\u6280\u672f\u670d\u52a1\u53ca\u54a8\u8be2\u4ea4\u6d41\uff0c\u4efb\u4f55\u6570\u636e\u5e93\u3001\u7f51\u7ad9\u3001\u670d\u52a1\u5668\u95ee\u9898\u90fd\u53ef\u4ee5\u8054\u7cfb\u7ad9\u957f\uff0c\u4e3a\u60a8\u89e3\u51b3\u95ee\u9898\uff0c\u6536\u53d6\u9002\u5f53\u8d39\u7528\u3002<\/div><\/div>"},"pay_type_html":{"html":"<div class=\"pay-button-box\"><\/div><p style=\"font-size: 13px; padding: 0; margin: 0;\">\u514d\u8d39\u6216\u94bb\u77f3\u514d\u8d39\u8d44\u6e90\u4ec5\u9650\u4f59\u989d\u652f\u4ed8<\/p>","alipay":0,"weixinpay":0}}; /* ]]> */ </script> <script type='text/javascript' src='//www.dbs724.com/wp-content/themes/ripro/assets/js/app.js?ver=9.0' id='app-js'></script> <script type='text/javascript' src='//www.dbs724.com/wp-content/themes/ripro/assets/js/plugins/html2canvas.min.js?ver=1.0.0' id='html2canvas-js'></script> <script type='text/javascript' src='//www.dbs724.com/wp-content/themes/ripro/assets/js/plugins/jquery.fancybox.min.js?ver=9.0' id='fancybox-js'></script> <script type='text/javascript' src='//www.dbs724.com/wp-includes/js/comment-reply.min.js?ver=6.0' id='comment-reply-js'></script> <script type='text/javascript' src='//www.dbs724.com/wp-content/plugins/WBOLT-чЩ╛х║жцОищАБчобчРЖ-3.4.4-Pro/assets/baidu_push.js' id='wb-baidu-push-js'></script> <style> .header-gap { height: 65px; } table tbody tr td, table tbody tr td { padding: 0px; } #cus_top_ads td { padding: 0px; } #cha_top_content ul { padding: 0px; margin: 10px 0 20px 0px; } #cha_top_content li { float: left; margin-right: 10px; list-style: none; } #cha_top_content li:last-child { /*float: none;*/ margin-right: 0px; } #cha_top_content img{ width: 383px; height: 75px; } #custom_html-10 { padding: 0px; } #custom_html-11 { padding: 0px; } /**/ #custom_html-12{ padding: 0px; } #custom_html-13{ padding: 0px; } #custom_html-14{ padding: 0px; } #post-top-ads a { margin-bottom: 15px; } #post-top-ads img { width: 100%; height: 80px; } #archive-top-ads a { margin-bottom: 15px; } #archive-top-ads img { width: 100%; height: 80px; } #menu-item-476359{ display: none; } .filter--content { margin-bottom: 15px; } .meta-author{ display: none; } .author-box { display: none; } #home-top-ads img { width: 100%; height: 80px; margin-top: 10px; } </style> <script src="/static/customer.js?ver=1.20231111?ver=4"></script> <script>console.log('命中缓存\n缓存页加载耗时: 0.0028s\n缓存页生成时间: 2024-11-17 11:08:11')</script></body> </html><!--cached by imwpcache 2024-11-17 11:08:11-->