{"id":61,"date":"2024-12-30T11:19:14","date_gmt":"2024-12-30T11:19:14","guid":{"rendered":"http:\/\/47.122.24.175\/?p=61"},"modified":"2025-03-18T10:47:48","modified_gmt":"2025-03-18T10:47:48","slug":"%e6%a1%88%e4%be%8b%e5%90%88%e9%9b%86","status":"publish","type":"post","link":"https:\/\/linuxjk.cn\/?p=61","title":{"rendered":"\u6848\u4f8b\u5408\u96c6"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"61\" class=\"elementor elementor-61\">\n\t\t\t\t<div class=\"elementor-element elementor-element-daaaf79 e-flex e-con-boxed e-con e-parent\" data-id=\"daaaf79\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1a556fc elementor-widget elementor-widget-text-editor\" data-id=\"1a556fc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/linuxjk.cn\/?p=61\/#%E9%9D%A2%E8%AF%95%E9%A2%98%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9%EF%BC%9A%E5%B0%A4%E5%85%B6%E4%B8%89%E5%89%91%E5%AE%A2%E5%92%8C%E8%84%9A%E6%9C%AC%E7%9A%84%E9%A2%98%EF%BC%8C%E5%B0%BD%E9%87%8F%E7%94%A8%E5%A4%9A%E7%A7%8D%E6%96%B9%E6%B3%95%E5%9B%9E%E7%AD%94\" >\u9762\u8bd5\u9898\u6ce8\u610f\u4e8b\u9879\uff1a\u5c24\u5176\u4e09\u5251\u5ba2\u548c\u811a\u672c\u7684\u9898\uff0c\u5c3d\u91cf\u7528\u591a\u79cd\u65b9\u6cd5\u56de\u7b54<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxjk.cn\/?p=61\/#findgrep%E6%A1%88%E4%BE%8B\" >find\/grep\u6848\u4f8b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/linuxjk.cn\/?p=61\/#sed%E6%A1%88%E4%BE%8B\" >sed\u6848\u4f8b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxjk.cn\/?p=61\/#awk%E6%A1%88%E4%BE%8B\" >awk\u6848\u4f8b<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E9%9D%A2%E8%AF%95%E9%A2%98%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9%EF%BC%9A%E5%B0%A4%E5%85%B6%E4%B8%89%E5%89%91%E5%AE%A2%E5%92%8C%E8%84%9A%E6%9C%AC%E7%9A%84%E9%A2%98%EF%BC%8C%E5%B0%BD%E9%87%8F%E7%94%A8%E5%A4%9A%E7%A7%8D%E6%96%B9%E6%B3%95%E5%9B%9E%E7%AD%94\"><\/span><strong>\u9762\u8bd5\u9898\u6ce8\u610f\u4e8b\u9879\uff1a\u5c24\u5176\u4e09\u5251\u5ba2\u548c\u811a\u672c\u7684\u9898\uff0c\u5c3d\u91cf\u7528\u591a\u79cd\u65b9\u6cd5\u56de\u7b54<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h1>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-140fee6 elementor-widget elementor-widget-text-editor\" data-id=\"140fee6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1><span class=\"ez-toc-section\" id=\"findgrep%E6%A1%88%E4%BE%8B\"><\/span><strong>find\/grep\u6848\u4f8b<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h1>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a135bfb elementor-widget elementor-widget-text-editor\" data-id=\"a135bfb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>1.\u627e\u51fa\/etc\u4e2d\u4ee5.conf\u7ed3\u5c3e\u5927\u4e8e10kb\u4fee\u6539\u65f6\u95f4\u662f7\u5929\u524d\u7684\u6587\u4ef6<\/strong><br \/><strong>find \/etc -type f -name &#8216;*.conf&#8217; -size +10k -mtime +7<\/strong><br \/><strong>2.\u67e5\u627e\u6587\u4ef6\u65f6\u6307\u5b9a\u6700\u591a\u627e\u591a\u5c11\u5c42\u76ee\u5f55\uff1a -maxdepth \u6307\u5b9a\u6700\u5927\u6df1\u5ea6\uff0c\u4e0d\u52a0\u5c31\u662f\u6240\u6709\u5c42<\/strong><br \/><strong>find \/ -maxdepth 2 -type f -name &#8216;*.conf&#8217;<\/strong><br \/><strong>3.\u67e5\u627e\u65f6\u4e0d\u533a\u5206\u5927\u5c0f\u5199<\/strong><br \/><strong>find \/ -type f -iname &#8216;*.conf&#8217;<\/strong><br \/><strong>4.\u6392\u9664 \/etc\/ssh\/sshd_config\u6587\u4ef6\u4e2d\u7684\u7a7a\u884c\uff0c\u6392\u9664\u4ee5#\u5f00\u5934\u7684\u884c\uff08\u53ef\u4ee5\u4f7f\u7528\u7ba1\u9053\uff09<\/strong><br \/><strong>grep -v &#8216;^$&#8217; \/etc\/ssh\/sshd_config | grep -nv &#8216;^#&#8217;<\/strong><br \/><strong>egrep -v &#8216;^$|^#&#8217; \/etc\/ssh\/sshd_config<\/strong><br \/><strong>grep -v &#8216;^[a-Z]&#8217; \/etc\/ssh\/sshd_config<\/strong><br \/><strong>sed -r &#8216;\/^$|^#\/d&#8217;<\/strong><br \/><strong>sed -nr &#8216;\/^$|^#\/!p&#8217; \u614e\u7528\uff01\u8868\u793a\u53d6\u53cd<\/strong><br \/><strong>egrep -n &#8216;^[a-Z]+&#8217; \/etc\/ssh\/sshd_config #\u663e\u793a\u4ee51\u4e2a\u62161\u4e2a\u4ee5\u4e0a\u5b57\u6bcd\u5f00\u5934\u7684\u884c\uff08\u4e0d\u5305\u62ec\u7a7a\u884c#\u884c\uff09<\/strong><br \/><strong>5.\u7edf\u8ba1re.txt\u4e2d\u5b57\u6bcd\u7ec4\u6210\u7684\u5355\u8bcd\u7684\u51fa\u73b0\u6b21\u6570<\/strong><br \/><strong>egrep -o &#8216;[a-z]+&#8217; re.txt | sort | uniq -c | sort -rn<\/strong><br \/><strong>sort\u6392\u5e8f\uff0cuniq -c\u7edf\u8ba1\u51fa\u73b0\u6b21\u6570 sort -rn -r\u9006\u5e8f\uff08\u4ece\u5927\u5230\u5c0f\u6392\u5e8f\uff09-n\u6839\u636euniq\u7edf\u8ba1\u7684\u6570\u503c\u5927\u5c0f\uff0c'[a-z]+&#8217;\u5339\u914d\u4efb\u610f\u957f\u5ea6\u7684\u7531\u8fd9\u4e9b\u5b57\u7b26\u7ec4\u6210\u7684\u5b57\u7b26\u4e32<\/strong><br \/><strong>6.\u5728\/etc\/services \u8fc7\u6ee4\u51fa\u5305\u542bssh\u6216httph\u6216smtp\u7684\u884c<\/strong><br \/><strong>egrep &#8216;ssh|httph|smtp&#8217; \/etc\/services<\/strong><br \/><strong>7.\u5339\u914d\u8eab\u4efd\u8bc1\u7684\u6b63\u5219\uff08\u7c97\u7565\u5339\u914d\uff09<\/strong><br \/><strong>\u89c4\u5f8b\uff1b18\u4f4d\uff0c\u7531\u6570\u5b57\u548cX\u7ec4\u6210\uff0cX\u5728\u6700\u540e\u4e00\u4f4d<\/strong><br \/><strong>egrep &#8216;[0-9]{17}[0-9X]$&#8217; id.txt<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8e09e20 e-flex e-con-boxed e-con e-parent\" data-id=\"8e09e20\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3173dce elementor-widget elementor-widget-text-editor\" data-id=\"3173dce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1><span class=\"ez-toc-section\" id=\"sed%E6%A1%88%E4%BE%8B\"><\/span><strong>sed\u6848\u4f8b<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h1>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-562face e-flex e-con-boxed e-con e-parent\" data-id=\"562face\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-18cccfb elementor-widget elementor-widget-text-editor\" data-id=\"18cccfb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>1.\u53d6\u51fa\/etc\/passwd\u7684\u7b2c\u4e09\u884c<\/strong><br \/><strong>sed -n &#8216;3p&#8217; \/etc\/passwd<\/strong><br \/><strong>\u53d6\u51fa2-5\u884c sed -n &#8216;2,5p&#8217; \/etc\/passwd\uff08\u7528\u7684\u4e0d\u591a\uff09<\/strong><br \/><strong>\u53d6\u51fa\u7b2c3\u884c\u548c\u7b2c5\u884c sed -n &#8216;3p;5p&#8217; \/etc\/passwd<\/strong><br \/><strong>2.\u8fc7\u6ee4\u51fa\/etc\/passwd\u4e2d\u5305\u542broot\u7684\u884c<\/strong><br \/><strong>grep &#8216;root&#8217; \/etc\/passwd<\/strong><br \/><strong>sed -n &#8216;\/root\/p&#8217; \/etc\/passwd<\/strong><br \/><strong>3.\u83b7\u53d6\u5341\u70b9\u5230\u5341\u4e00\u70b9\u6bcf\u79d2\u7ea7\u7684\u65e5\u5fd7<\/strong><br \/><strong>sed -n &#8216;\/10:00:00\/ , \/11:00:00\/p&#8217; sed.txt<\/strong><br \/><strong>4.\u8868\u793a\u6709\u89c4\u5f8b\u7684\u67e5\u627e seq 10 | sed -n &#8216;1-2p&#8217; #\u4ece\u7b2c\u4e00\u884c\u5f00\u59cb\u6bcf\u6b21\u52a02\uff08\u7ed3\u679c13579\u4e94\u884c\uff0c\u6bcf\u884c\u4e00\u4e2a\uff09<\/strong><br \/><strong>5.\u628a\u6587\u4ef6\u91cc\u7684lidao\u4fee\u6539\u6210oldboy\uff08\u4fee\u6539\u6587\u4ef6\u5185\u5bb9\uff09\uff0c\u4e0d\u52a0-i\u8868\u793a\u53ea\u4fee\u6539\u8f93\u51fa<\/strong><br \/><strong>sed -i &#8216;s#lidao#oldboy#g&#8217; sed.txt<\/strong><br \/><strong>6.\u8f93\u51fa1&lt;234567&gt;8\uff08\u5bf9\u4e8e12345678\u8fd9\u4e00\u884c\u8fdb\u884c\u5904\u7406\uff09<\/strong><br \/><strong>echo &#8216;12345678&#8217; | sed &#8216;s#(1)(.*)(8)#\\1#g&#8217; #\u52a0\u4e0a-r \u5373\u53ef\u4f7f\u7528()<\/strong><br \/><strong>7.\u8c03\u6362\/etc\/passwd \u7b2c\u4e00\u5217\u548c\u6700\u540e\u4e00\u5217\u5185\u5bb9<\/strong><br \/><strong>sed -r &#8216;s#^(.*)(:x.*:)(.*)$#\\3\\2\\1#g&#8217; \/etc\/passwd<\/strong><br \/><strong>sed -r &#8216;s#^([a-zA-Z0-9_-]+)(:.*:)(.*)$#\\3\\2\\1#g&#8217; \/etc\/passwd<\/strong><br \/><strong>8.\u53d6\u51fa\u7f51\u5361ip\u5730\u5740 ip address show eth0 \u53d6\u51fa\u7b2c\u4e94\u884c\u91cc\u7684ip\u5730\u5740<\/strong><br \/><strong>ip a s eth0 | sed -n &#8216;5p&#8217; | sed -r &#8216;s#^.*inet (.*)\/.*$#\\1#g&#8217;<\/strong><br \/><strong>9.\u53d6\u51fastat \/etc\/hosts \u4e2d\u76840644\u6216644<\/strong><br \/><strong>stat \/etc\/hosts | sed -n &#8216;4p&#8217; | sed -r &#8216;s#^[a-zA-Z: ]+\\(([0-9]+)\/.*$#\\1#g&#8217;<\/strong><br \/><strong>sed -r &#8216;s#^.*\\(([0-9]+)\/.*$#\\1#g&#8217;<\/strong><br \/><strong>0644<\/strong><br \/><strong>sed -r &#8216;s#^[a-zA-Z: ]+\\(0([0-9]+)\/.*$#\\1#g&#8217;<\/strong><br \/><strong>644<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b072644 e-flex e-con-boxed e-con e-parent\" data-id=\"b072644\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f9987ed elementor-widget elementor-widget-text-editor\" data-id=\"f9987ed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1><span class=\"ez-toc-section\" id=\"awk%E6%A1%88%E4%BE%8B\"><\/span><strong>awk\u6848\u4f8b<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h1>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-420dc89 elementor-widget elementor-widget-text-editor\" data-id=\"420dc89\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>1.\u53d6\u51fa\/etc\/passwd\u7684\u7b2c\u4e00\u884c<\/strong><br \/><strong>awk &#8216;NR==1{print $0}&#8217; \/etc\/passwd<\/strong><br \/><strong>#{print $0}\u8f93\u51fa\u6574\u884c\u5185\u5bb9\uff0c\u5355\u72ec\u53d6\u884c\u7684\u65f6\u5019\u53ef\u4ee5\u7701\u7565\uff0c$0\u8868\u793a\u5f53\u524d\u884c\u7684\u5185\u5bb9<\/strong><br \/><strong>2.\u53d6\u51fa\/etc\/passwd\u76842-5\u884c<\/strong><br \/><strong>awk &#8216;NR&gt;=2 &amp;&amp; NR&lt;=5&#8217; \/etc\/passwd<\/strong><br \/><strong>3.\u8fc7\u6ee4\u51fa\/etc\/passwd\u4e2d\u5305\u542broot\u6216nobody\u7684\u884c<\/strong><br \/><strong>awk &#8216;\/root|nobody\/&#8217; \/etc\/passwd<\/strong><br \/><strong>4.\u4ece\u5305\u542broot\u7684\u884c\u5230\u5305\u542bnobody\u7684\u884c<\/strong><br \/><strong>awk &#8216;\/root\/,\/nobody\/&#8217; \/etc\/passwd<\/strong><br \/><strong>5.\u53d6\u51fa\/etc\/passwd\u7684\u7b2c1\uff0c3\uff0c\u6700\u540e\u4e00\u5217<\/strong><br \/><strong>awk -F: &#8216;{print $1,$3,$NF}&#8217; \/etc\/passwd | column -t<\/strong><br \/><strong>6.\u6307\u5b9a\u590d\u6742\u5206\u9694\u7b26\u53d6\u51faIP\u5730\u5740 \u63d0\u793a\uff1ainet \u524d\u67094\u4e2a\u7a7a\u683c\uff08\u7ecf\u5178\u529f\u80fd\uff1a\u5229\u7528\u6b63\u5219\u6307\u5b9a\u591a\u4e2a\u5206\u9694\u7b26\uff09<\/strong><br \/><strong>ip a s eth0 | awk &#8216;NR==3&#8217; | awk &#8216;{print $2}&#8217; | awk -F\/ &#8216;{print $1}&#8217;<\/strong><br \/><strong>ip a s eth0 | awk -F &#8216;[ \/]+&#8217; &#8216;NR==5{print $3}&#8217;<\/strong><br \/><strong>7.\u5982\u679c\u7cfb\u7edfswap\u4f7f\u7528\u8d85\u8fc70\uff0c\u5219\u8f93\u51fa\u201c\u5f02\u5e38\u7cfb\u7edf\u5f00\u59cb\u4f7f\u7528swap\u201d<\/strong><br \/><strong>\u6761\u4ef6\uff1a1.\u8fc7\u6ee4\u51faswap\uff08\u7b2c\u4e09\u884c\uff092.\u7b2c\u4e09\u5217\u5927\u4e8e0<\/strong><br \/><strong>free | awk &#8216;NR==3 &amp;&amp; $3&gt;0{print &#8220;&#8221;}&#8217;<\/strong><br \/><strong>\u6216\u7528\/swap\/\u8fc7\u6ee4\u51faswap\u7684\u884c\u66ff\u6362NR==3<\/strong><br \/><strong>8.\u8fc7\u6ee4\u51fa\/etc\/passwd\u7b2c4\u5217\u7684\u6570\u5b57\u662f\u4ee50\u62161\u5f00\u5934\u7684\u884c\uff0c\u8f93\u51fa\u7b2c1\u5217\uff0c\u7b2c3\u5217\uff0c\u7b2c4\u5217<\/strong><br \/><strong>awk -F\uff1a &#8216;$4~\/^[01]\/&#8217; \/etc\/passwd #\u8868\u793a\u627e\u51fa\u7b26\u5408\u6761\u4ef6\u7684\u884c<\/strong><br \/><strong>awk -F\uff1a &#8216;$4~\/^[01]\/{print $1,$3}&#8217; \/etc\/passwd<\/strong><br \/><strong>9.\u7edf\u8ba1\/etc\/passwd\u4e00\u5171\u6709\u591a\u5c11\u884c<\/strong><br \/><strong>awk &#8216;{i=i+1} END {print i}&#8217; \/etc\/passwd<\/strong><br \/><strong>\u7d2f\u52a0<\/strong><br \/><strong>10.seq 10 &gt; num.txt \u8ba1\u7b97\u8fd9\u4e00\u5217\u6570\u5b57\u548c<\/strong><br \/><strong>awk &#8216;{i=i+$1} END {print i}&#8217;<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u9762\u8bd5\u9898\u6ce8\u610f\u4e8b\u9879\uff1a\u5c24\u5176\u4e09\u5251\u5ba2\u548c\u811a\u672c\u7684\u9898\uff0c\u5c3d\u91cf\u7528\u591a\u79cd\u65b9\u6cd5\u56de\u7b54 find\/grep\u6848\u4f8b 1.\u627e\u51fa\/etc\u4e2d\u4ee5.con [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[14],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-vxhs888p","tag-interview-questions"],"_links":{"self":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=61"}],"version-history":[{"count":38,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":349,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=\/wp\/v2\/posts\/61\/revisions\/349"}],"wp:attachment":[{"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxjk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}