{"id":87,"date":"2021-02-25T16:58:00","date_gmt":"2021-02-25T08:58:00","guid":{"rendered":"http:\/\/47.107.115.238\/?p=87"},"modified":"2024-09-06T13:25:13","modified_gmt":"2024-09-06T05:25:13","slug":"shell","status":"publish","type":"post","link":"https:\/\/lxylp.com\/?p=87","title":{"rendered":"shell"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 counter-hierarchy ez-toc-counter ez-toc-transparent 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:\/\/lxylp.com\/?p=87\/#SHELL%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%BF%AB%E6%8D%B7%E9%94%AE\" title=\"SHELL\u547d\u4ee4\u884c\u5feb\u6377\u952e\">SHELL\u547d\u4ee4\u884c\u5feb\u6377\u952e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/lxylp.com\/?p=87\/#%E5%8F%82%E6%95%B0%E6%96%87%E4%BB%B6%E5%90%8D%E6%9C%89%E7%A9%BA%E6%A0%BC\" title=\"\u53c2\u6570\u6587\u4ef6\u540d\u6709\u7a7a\u683c\">\u53c2\u6570\u6587\u4ef6\u540d\u6709\u7a7a\u683c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/lxylp.com\/?p=87\/#shell%E8%84%9A%E6%9C%AC%E6%B7%BB%E5%8A%A0%E5%88%B0%E9%BB%98%E8%AE%A4%E8%B7%AF%E5%BE%84\" title=\"shell\u811a\u672c\u6dfb\u52a0\u5230\u9ed8\u8ba4\u8def\u5f84\">shell\u811a\u672c\u6dfb\u52a0\u5230\u9ed8\u8ba4\u8def\u5f84<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/lxylp.com\/?p=87\/#%E7%BC%96%E5%86%99SHELL%E8%84%9A%E6%9C%AC\" title=\"\u7f16\u5199SHELL\u811a\u672c\">\u7f16\u5199SHELL\u811a\u672c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/lxylp.com\/?p=87\/#%E7%BB%9F%E8%AE%A1%E6%96%87%E4%BB%B6%E4%B8%AA%E6%95%B0\" title=\"\u7edf\u8ba1\u6587\u4ef6\u4e2a\u6570\">\u7edf\u8ba1\u6587\u4ef6\u4e2a\u6570<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/lxylp.com\/?p=87\/#%E6%89%B9%E9%87%8F%E7%A7%BB%E5%8A%A8%E6%B8%85%E5%8D%95%E4%B8%AD%E7%9A%84%E6%96%87%E4%BB%B6\" title=\"\u6279\u91cf\u79fb\u52a8\u6e05\u5355\u4e2d\u7684\u6587\u4ef6\">\u6279\u91cf\u79fb\u52a8\u6e05\u5355\u4e2d\u7684\u6587\u4ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/lxylp.com\/?p=87\/#%E6%89%B9%E9%87%8F%E6%96%87%E4%BB%B6%E9%87%8D%E5%91%BD%E5%90%8D\" title=\"\u6279\u91cf\u6587\u4ef6\u91cd\u547d\u540d\">\u6279\u91cf\u6587\u4ef6\u91cd\u547d\u540d<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/lxylp.com\/?p=87\/#%E6%89%B9%E9%87%8F%E9%87%8D%E5%91%BD%E5%90%8D\" title=\"\u6279\u91cf\u91cd\u547d\u540d\">\u6279\u91cf\u91cd\u547d\u540d<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/lxylp.com\/?p=87\/#CentOS%E4%B8%8Bshell%E6%98%BE%E7%A4%BA-bash-41\" title=\"CentOS\u4e0bshell\u663e\u793a-bash-4.1\">CentOS\u4e0bshell\u663e\u793a-bash-4.1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/lxylp.com\/?p=87\/#PS1%E7%BB%88%E7%AB%AF%E6%98%BE%E7%A4%BA%E8%89%B2%E5%BD%A9\" title=\"PS1\u7ec8\u7aef\u663e\u793a\u8272\u5f69\">PS1\u7ec8\u7aef\u663e\u793a\u8272\u5f69<\/a><\/li><\/ul><\/nav><\/div>\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SHELL%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%BF%AB%E6%8D%B7%E9%94%AE\"><\/span>SHELL\u547d\u4ee4\u884c\u5feb\u6377\u952e<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Ctrl+a\uff1a\u5149\u6807\u56de\u5230\u547d\u4ee4\u884c\u9996<\/strong><\/li>\n\n\n\n<li><strong>Ctrl+e\uff1a\u5149\u6807\u56de\u5230\u547d\u4ee4\u884c\u5c3e<\/strong><\/li>\n\n\n\n<li>Ctrl+b\uff1a\u5149\u6807\u5411\u884c\u9996\u79fb\u52a8\u4e00\u4e2a\u5b57\u7b26<\/li>\n\n\n\n<li>Ctrl+f\uff1a\u5149\u6807\u5411\u884c\u5c3e\u79fb\u52a8\u4e00\u4e2a\u5b57\u7b26<\/li>\n\n\n\n<li>alt +b: \u5149\u6807\u5411\u884c\u9996\u79fb\u52a8\u4e00\u4e2a\u5355\u8bcd<\/li>\n\n\n\n<li>alt +f: \u5149\u6807\u5411\u884c\u9996\u79fb\u52a8\u4e00\u4e2a\u5355\u8bcd<\/li>\n\n\n\n<li><strong>Ctrl+w: \u5220\u9664\u5149\u6807\u5904\u5230\u884c\u9996\u7684\u5b57\u7b26<\/strong><\/li>\n\n\n\n<li><strong>alt+d: \u5220\u9664\u5149\u6807\u540e\u4e00\u4e2a\u5355\u8bcd<\/strong><\/li>\n\n\n\n<li>Ctrl+k\uff1a\u5220\u9664\u5149\u6807\u5904\u5230\u884c\u5c3e\u7684\u5b57\u7b26<\/li>\n\n\n\n<li>Ctrl+u\uff1a\u5220\u9664\u6574\u4e2a\u547d\u4ee4\u884c\u6587\u672c\u5b57\u7b26<\/li>\n\n\n\n<li>Ctrl+y: \u7c98\u8d34Ctrl+u\uff0cCtrl+k\uff0cCtrl+w\u5220\u9664\u7684\u6587\u672c<\/li>\n\n\n\n<li><strong>ctrl+shift+c: \u590d\u5236<\/strong><\/li>\n\n\n\n<li><strong>ctrl+shift+v: \u9ecf\u8d34<\/strong><\/li>\n\n\n\n<li><strong>Ctrl+z\uff1a\u4f7f\u6b63\u5728\u8fd0\u884c\u5728\u7ec8\u7aef\u7684\u4efb\u52a1\uff0c\u8fd0\u884c\u4e8e\u540e\u53f0\u3002 \uff08\u53ef\u7528bg,fg\u6062\u590d\uff09<\/strong><\/li>\n\n\n\n<li><strong>Ctrl+c\uff1a\u4e2d\u65ad\u7ec8\u7aef\u4e2d\u6b63\u5728\u6267\u884c\u7684\u4efb\u52a1<\/strong><\/li>\n\n\n\n<li><strong>Ctrl+d: \u5728\u7a7a\u547d\u4ee4\u884c\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u9000\u51fa\u7ec8\u7aef<\/strong><\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%8F%82%E6%95%B0%E6%96%87%E4%BB%B6%E5%90%8D%E6%9C%89%E7%A9%BA%E6%A0%BC\"><\/span>\u53c2\u6570\u6587\u4ef6\u540d\u6709\u7a7a\u683c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>\u52a0 \u53cc\u5f15\u53f7 <code>\"$1\"<\/code><br>\u5982\u4e0bpdf\u538b\u7f29f\u7a0b\u5e8f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nif &#91; <span class=\"katex math inline\"># -lt 2 ]; then\n  echo \"Usage: sh<\/span>0 para1 para2\"\n  echo \" \"\n  echo \"e.g. : \"\n  echo \"m.split.compress.pdf.sh out.pdf input.pdf\"\n  exit 1\nfi\n\ngs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=\/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=<span class=\"katex math inline\">1 \"<\/span>2\"\necho \" \"\necho \"finish compressed as $1.pdf\"<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"shell%E8%84%9A%E6%9C%AC%E6%B7%BB%E5%8A%A0%E5%88%B0%E9%BB%98%E8%AE%A4%E8%B7%AF%E5%BE%84\"><\/span>shell\u811a\u672c\u6dfb\u52a0\u5230\u9ed8\u8ba4\u8def\u5f84<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>\u81ea\u5df1\u5199\u7684shell\u811a\u672c\uff1b\u4e0d\u653e\u5230PATH\u8def\u5f84\u4e0b\uff0c\u547d\u4ee4\u53ea\u80fd\u5728\u811a\u672c\u6240\u5728\u8def\u5f84\u4e0b\u8fd0\u884c\uff0c\u4e3a\u4e86\u80fd\u50cfls\u7b49\u7cfb\u7edf\u547d\u4ee4\u53ef\u4ee5\u5728\u4efb\u610f\u8def\u5f84\u4e0b\u4f7f\u7528\uff0c\u9700\u8981\u8fdb\u884c\u5982\u4e0b\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u73b0\u5728\u7528\u6237\u6839\u76ee\u5f55\u4e0b\u521b\u5efa <code>bin<\/code>\u76ee\u5f55\uff0c\u53ef\u4ee5\u662f\u4efb\u610f\u76ee\u5f55\uff0c\u4e60\u60ef\u4e0a\u547d\u540d\u4e3a <code>bin<\/code><\/li>\n\n\n\n<li>\u6dfb\u52a0\u5230 <code>.bashrc<\/code> \u6587\u4ef6\u4e2d<\/li>\n\n\n\n<li>\u66f4\u65b0 <code>.bashrc<\/code> \u6587\u4ef6<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cd ~\n$ mkdir bin\n\n$ vim .bashrc\n$ export PATH=$PATH:~\/bin\n\n$ source .bashrc<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/blog.csdn.net\/ping_devil\/article\/details\/109667454\">\u53c2\u8003\u6587\u732e\uff1aREF<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%BC%96%E5%86%99SHELL%E8%84%9A%E6%9C%AC\"><\/span>\u7f16\u5199SHELL\u811a\u672c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\necho 'this is shell?'<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%BB%9F%E8%AE%A1%E6%96%87%E4%BB%B6%E4%B8%AA%E6%95%B0\"><\/span>\u7edf\u8ba1\u6587\u4ef6\u4e2a\u6570<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -l | grep \"Train\" | wc -l            \n\nps -ef | grep matlab |wc -l<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%89%B9%E9%87%8F%E7%A7%BB%E5%8A%A8%E6%B8%85%E5%8D%95%E4%B8%AD%E7%9A%84%E6%96%87%E4%BB%B6\"><\/span>\u6279\u91cf\u79fb\u52a8\u6e05\u5355\u4e2d\u7684\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6709\u9700\u8981\u79fb\u52a8\u7684\u6587\u4ef6\u540d\u6e05\u5355 filename.txt<\/li>\n\n\n\n<li>\u6587\u4ef6\u5728files1\u6587\u4ef6\u5939\u4e0b\u6709filename.txt\u4e2d\u7684\u6587\u4ef6<\/li>\n\n\n\n<li>\u4ecefiles1\u6587\u4ef6\u5939\u79fb\u52a8filename.txt\u4e2d\u7684\u6587\u4ef6\u5230files2<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cat mv_from_filelistname.sh\n#!\/bin\/bash\nmkdir tmp\nfor I in `cat $1`\ndo\n        mv $2\/$I tmp\/\ndone\n# useage\n.\/mv_from_filelistname.sh bdgt_test.txt clipbdgt<\/code><\/pre>\n\n\n\n<p>\u53c2\u8003\u6587\u732e\uff1a<a href=\"https:\/\/www.cnblogs.com\/everfight\/p\/move_file_in_batch.html\">everfigh<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%89%B9%E9%87%8F%E6%96%87%E4%BB%B6%E9%87%8D%E5%91%BD%E5%90%8D\"><\/span>\u6279\u91cf\u6587\u4ef6\u91cd\u547d\u540d<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>\u6587\u4ef6\u5939\u4e0b\u6709\u6587\u4ef6 <code>a.prj, a.sta a.tfw a.tif a.txt<\/code>\uff0c\u6279\u91cf\u91cd\u547d\u540d\u4e3a <code>b.prj, b.sta b.tfw b.tif b.txt<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rename &#91;options] &lt;expression&gt; &lt;replacement&gt; &lt;file&gt;...\nOptions:\n -v, --verbose       explain what is being done\n -s, --symlink       act on the target of symlinks\n -n, --no-act        do not make any changes\n -a, --all           replace all occurrences\n -l, --last          replace only the last occurrence\n -o, --no-overwrite  dont overwrite existing files\n -i, --interactive   prompt before overwrite\n\nrename a b a.*<\/code><\/pre>\n\n\n\n<p>\u6279\u91cf\u6dfb\u52a0\u524d\u7f00\u7531 <code>a.mp3<\/code> \u91cd\u547d\u540d\u4e3a <code>s1_a.mp3<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>for i in *; do mv -- \"<span class=\"katex math inline\">i\" \"s1_<\/span>i\"; done<\/code><\/pre>\n\n\n\n<p>\u5fae\u4fe1\u56fe\u7247<code>\u65f6\u95f4\u6807\u7b7e\u540d<\/code>\u6279\u91cf\u4fee\u6539\u4e3a<code>\u5e74-\u6708-\u65e5<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%89%B9%E9%87%8F%E9%87%8D%E5%91%BD%E5%90%8D\"><\/span>\u6279\u91cf\u91cd\u547d\u540d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><code>#!\/bin\/bash\nfor i in <span class=\"katex math inline\">(ls)\ndo\n        name=<\/span>(echo <span class=\"katex math inline\">i |cut -b 1-10)\n        echo<\/span>name\n        namen=<span class=\"katex math inline\">(date -d \"1970-01-01<\/span>name seconds\" +\"%Y-%m-%d_%H%M%S\")\n        echo <span class=\"katex math inline\">namen\n        rename.ul<\/span>name <span class=\"katex math inline\">namen<\/span>i\ndone<\/code><\/code><\/pre>\n\n\n\n<p>\u795e\u5947\u7684<code>1234567890<\/code>\u79d2\u8f6c\u6362\u4e3a\u5e74\u6708\u65e5<code>date -d \"1970-01-01 $name seconds\" +\"%Y-%m-%d_%H%M%S\"<\/code><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CentOS%E4%B8%8Bshell%E6%98%BE%E7%A4%BA-bash-41\"><\/span>CentOS\u4e0bshell\u663e\u793a-bash-4.1<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p>CentOS\u4e0b\u65b0\u589e\u52a0\u4e00\u4e2a\u7528\u6237\uff0c\u767b\u5f55\u8fdb\u53bb\u4f1a\u53d1\u73b0shell\u811a\u672c\u4fe1\u606f\u6ca1\u6709\u663e\u793a\u7528\u6237\u540d\u548c\u4e3b\u673a\u540d\uff0c\u53cd\u800c\u663e\u793a\u7684\u662f-bash-4.1$<\/p>\n\n\n\n<p>\u800c\u4e0d\u662f\u6211\u4eec\u7ecf\u5e38\u770b\u5230\u7684username@hostname$\u7684\u7ec4\u5408\uff0c\u770b\u8d77\u6765\u7279\u522b\u522b\u626d\u4e0d\u8212\u670d\u3002<\/p>\n\n\n\n<p>\u95ee\u9898\u7684\u539f\u56e0\u662f\uff1a\u6ca1\u6709\u914d\u7f6e.bash_profile\u7684\u95ee\u9898\uff0c\u6216\u8005\u8bf4\u6ca1\u6709\u8fd9\u4e2a\u6587\u4ef6\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6216\u8005\u65b0\u5efa\u8fd9\u4e2a\u6587\u4ef6\u6765\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1.\u5728\u65b0\u5efa\u7528\u6237\u7684\uff5e\u76ee\u5f55\u4e0b\u65b0\u5efa\u6216\u8005\u66f4\u6539.bash_profile\uff1b \n\n2.\u5728.bash_profile\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1aexport PS1='&#91;\\u@\\h \\W]\\$'\n\n3.\u5728\u65b0\u5efa\u7528\u6237\u4e0b\u8fd0\u884c\u4e00\u4e0b\u547d\u4ee4\uff1asource ~\/.bash_profile<\/code><\/pre>\n\n\n\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u6b63\u5e38\u663e\u793a\u7528\u6237\u540d\u548c\u4e3b\u673a\u540d\u4e86, <a href=\"https:\/\/blog.csdn.net\/suleil1\/article\/details\/79286369\">\u53c2\u8003\u6587\u732e<\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PS1%E7%BB%88%E7%AB%AF%E6%98%BE%E7%A4%BA%E8%89%B2%E5%BD%A9\"><\/span>PS1\u7ec8\u7aef\u663e\u793a\u8272\u5f69<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p><code>PS1='[\\033[01;37m][[\\033[01;35m]\\u[\\033[01;31m]@[\\033[01;35m]\\h[\\033[01;32m]\\A [\\033[01;33m]\\w[\\033[01;37m]] [\\033[01;34m]\\$ [\\033[0m]'<\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SHELL\u547d\u4ee4\u884c\u5feb\u6377\u952e \u53c2\u6570\u6587\u4ef6&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/lxylp.com\/index.php?rest_route=\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lxylp.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lxylp.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lxylp.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lxylp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":4,"href":"https:\/\/lxylp.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/lxylp.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/lxylp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lxylp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lxylp.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}