{"id":104,"date":"2014-06-25T02:03:16","date_gmt":"2014-06-25T02:03:16","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=104"},"modified":"2014-06-25T02:03:16","modified_gmt":"2014-06-25T02:03:16","slug":"%e6%88%91%e7%9a%84linux%e6%8a%80%e5%b7%a7or%e7%9f%a5%e8%af%86%e6%94%b6%e9%9b%86-%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/104.html","title":{"rendered":"\u6211\u7684Linux\u6280\u5de7or\u77e5\u8bc6\u6536\u96c6-\u5e94\u7528"},"content":{"rendered":"<h6>\u5728Linux\u670d\u52a1\u5668\u4e2d\u5982\u4f55\u627e\u51fa\u5927\u6587\u4ef6<\/h6>\n<p>\u67e5\u627e\u6839\u76ee\u5f55\u4e0b\uff08\u7cfb\u7edf\u4e2d\uff09\u5927\u4e8e50M\u7684\u6587\u4ef6\uff1a<\/p>\n<pre class=\"lang:default decode:true\">find \/ -type f -size +50000k -exec ls -lh {} ;<\/pre>\n<p>\u67e5\u627e\/var\/log\u76ee\u5f55\u4e0b\u5927\u4e8e100M\u7684\u6587\u4ef6\uff1a<\/p>\n<pre class=\"lang:default decode:true\">find \/var\/log -type f -size +100000k -exec ls -lh {} ; | awk '{ print $9 \": \" $5 }'<\/pre>\n<h6>Perl \u6280\u5de7: \u663e\u793a\u5927\u6587\u4ef6<\/h6>\n<pre class=\"lang:default decode:true\">#\u4f9d\u636e\u6587\u4ef6\u5927\u5c0f\u4ece\u5c0f\u5230\u5927\u663e\u793a\u5f53\u524d\u76ee\u5f55\u4e0b\u6bcf\u4e2a\u76ee\u5f55\u7684\u5360\u7528\u7684\u60c5\u51b5(\u6ce8\uff1a\u661f\u53f7\u548c\u661f\u53f7\u7684\u957f\u5ea6)\ndu -k | sort -n | perl -ne 'if ( \/^(d+)s+(.*$)\/){$l=log($1+.1);$m=int($l\/log(1024)); printf (\"%6.1ft%st%25s %sn\",($1\/(2**(10*$m))),((\"K\",\"M\",\"G\",\"T\",\"P\")[$m]),\"*\"x (1.5*$l),$2);}'<\/pre>\n<h6>ls \u547d\u4ee4\uff1a\u5728\u76ee\u5f55\u4e2d\u627e\u51fa\u6700\u5927\u7684\u6587\u4ef6{-S :sort by file size}<\/h6>\n<p>$ ls -lS<br \/>\n$ ls -lS | less<br \/>\n$ ls -lS | head +10<\/p>\n<h6>ls \u547d\u4ee4\uff1a\u5728\u76ee\u5f55\u4e2d\u627e\u51fa\u6700\u5c0f\u7684\u6587\u4ef6{-r :reverse order while sorting}<\/h6>\n<p>$ ls -lSr<br \/>\n$ ls -lSr | less<br \/>\n$ ls -lSr | tail -10<\/p>\n<h6>\u5982\u679c\u4f60\u60f3\u8981\u4e00\u4e2a\u57fa\u4e8e\u6587\u4ef6\u5927\u5c0f\u6392\u5e8f\u7684\u6587\u4ef6\u5217\u8868\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff08\u5b83\u4f1a\u4ee5\u9012\u51cf\u987a\u5e8f\u6392\u5217\u6587\u4ef6\uff09\uff1a<\/h6>\n<p># ls -l | grep ^- | sort -nr -k 5 | more<\/p>\n<h6>\u9012\u5f52\u67e5\u8be2\uff1a<\/h6>\n<p># ls -lR | grep ^- | sort -nr -k 5 | more<\/p>\n<h6 style=\"color: #454545;\">grep\u547d\u4ee4\u7684\u4e00\u4e9b\u5e38\u7528\u9009\u9879<\/h6>\n<p style=\"color: #454545;\">grep -l \/ -i \/ -v \/ -n \/ -c \/ -r\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0#\u8fd9\u5e94\u8be5\u662fgrep\u6700\u5e38\u4f1a\u7528\u5230\u7684\u9009\u9879\u4e86\uff0c\u5e73\u65f6\u591a\u7528\u7528\u591a\u5b9e\u8df5\u5c31\u4f1a\u7406\u89e3\u4e86<\/p>\n<p style=\"color: #454545;\">grep -E &#8216;219|216&#8217; data.doc #\u4f7f\u7528\u6269\u5c55\u6a21\u5f0f\u5339\u914d<\/p>\n<p style=\"color: #454545;\">grep -n &#8220;48&#8221; data.doc \u00a0\u00a0\u00a0\u00a0 #\u663e\u793a\u6240\u6709\u5339\u914d48\u7684\u884c\u548c\u884c\u53f7\uff08\u82e5\u4e3a\u591a\u6587\u4ef6\u5339\u914d\u8fd8\u4f1a\u663e\u793a\u6587\u4ef6\u540d\uff09\uff08-n\u9009\u9879\u663e\u793a\u5339\u914d\u884c\u5bf9\u5e94\u7684\u884c\u53f7\uff09<\/p>\n<p style=\"color: #454545;\">grep -c &#8220;48&#8221; data.doc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0#\u8f93\u51fa\u6587\u6863\u4e2d\u542b\u670948\u5b57\u7b26\u7684\u884c\u6570<\/p>\n<p style=\"color: #454545;\">$ dmesg<br \/>\n$ vim \/var\/log\/dmesg<\/p>\n<p style=\"color: #454545;\"><span style=\"color: #ff0000;\">curl ifconfig.me<\/span>\u00a0\u00a0 \u00a0#\u8fd9\u662f\u4e2a\u597d\u4e1c\u897f\uff01\u7528\u4e8e\u65b9\u4fbf\u7684\u4ece\u547d\u4ee4\u884c\u4e0a\u83b7\u53d6\u672c\u673a\u7684\u5916\u7f51IP<\/p>\n<p style=\"color: #454545;\"><span style=\"color: rgb(255, 0, 0);\">curl\u00a0http:\/\/ipecho.net\/plain<\/span>\u00a0 \u00a0 \u00a0\u00a0#\u4e5f\u662f\u7528\u4e8e\u83b7\u53d6\u672c\u673a\u7684\u5916\u7f51IP<\/p>\n<p style=\"color: #454545;\"><span style=\"color: #ff0000;\">Vim\u4e2d\u7684 &#8220;Esc\u952e&#8221; \u53ef\u4ee5\u7528 &#8220;Ctrl &#8211; C&#8221; \u8fdb\u884c\u529f\u80fd\u6027\u66ff\u4ee3<\/span><\/p>\n<h5>\u8bb0\u5f55\u5e76\u56de\u653e\u7ec8\u7aef\u4f1a\u8bdd{script\u548cscriptreplay\u547d\u4ee4}<\/h5>\n<p>\u8fd9\u5728\u4f7f\u7528\u7ec8\u7aef\u5236\u4f5c\u6559\u7a0b\u65f6\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<p>\u8981\u5f00\u59cb\u8bb0\u5f55\u4f60\u7684\u7ec8\u7aef\u4f1a\u8bdd\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n<pre class=\"lang:default decode:true\">$ script -t 2&gt;timing.log -a output.session<\/pre>\n<p>\u63a5\u7740\u8f93\u5165\uff1a<br \/>\n$ ls<br \/>\n$ touch test<br \/>\n&#8230;&#8230;<br \/>\n&#8230;&#8230;<br \/>\n$ exit<br \/>\n\u8fd9\u91cc\uff0cscript\u547d\u4ee4\u53d6\u4e24\u4e2a\u6587\u4ef6\u4f5c\u4e3a\u53c2\u6570timing.log(\u5b83\u8bb0\u5f55\u4e86\u6bcf\u4e2a\u547d\u4ee4\u6267\u884c\u7684\u65f6\u95f4\u4fe1\u606f)\u548coutput.session(\u5b58\u50a8\u4e86\u547d\u4ee4\u7684\u8f93\u51fa)\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u8981\u56de\u653e\u8bb0\u5f55\u7684\u4f1a\u8bdd\uff0c\u4f7f\u7528\u4e0b\u9762\u6240\u793a\u7684scriptplay\u547d\u4ee4\uff1a<\/p>\n<pre class=\"lang:default decode:true\">$ scriptreplay timing.log output.session<\/pre>\n<p>\u6ce8\uff1atiming.log\u548coutput.session\u53ef\u4ee5\u88ab\u4efb\u4f55\u60f3\u8981\u5728\u81ea\u5df1\u7684\u7ec8\u7aef\u4e0a\u91cd\u653e\u4f1a\u8bdd\u7684\u4eba\u4f7f\u7528\u3002<\/p>\n<h4 style=\"color: #454545;\">\u600e\u6837\u53bb\u6389\u6587\u4ef6\u4e2d\u7684 ^M<\/h4>\n<p style=\"color: #454545;\">sed &#8216;%s\/^M\/\/g&#8217;<\/p>\n<p style=\"color: #454545;\"># ^M\u600e\u4e48\u8f93\u7684\uff0c\u8be5\u662f\u7ec4\u5408\u952ectrl+v\u52a0ctrl+m<\/p>\n<p style=\"color: #454545;\"># ^M\u662f\u5148\u7ec4\u5408\u952ecrtl+v,\u7136\u540e\u6309\u56de\u8f66\u5c31\u884c\u4e86<\/p>\n<p style=\"color: #454545;\"># \u540c\u6837\u529f\u80fd\u952e ^[ \u662f\u5148crtl+v,\u7136\u540e\u6309Esc\u952e<\/p>\n<h4 style=\"color: #454545;\">\u5982\u4f55\u5728vim\u4e2d\u5220\u9664\u7a7a\u884c<\/h4>\n<p style=\"color: #454545;\">\u5220\u9664\u7a7a\u884c &#8220;:g\/^$\/d&#8221;<\/p>\n<p style=\"color: #454545;\">\u5220\u9664\u6240\u6709\u7a7a\u767d\u884c(^\u662f\u884c\u7684\u5f00\u59cb\uff0cs*\u662f\u96f6\u4e2a\u6216\u8005\u591a\u4e2a\u7a7a\u767d\u5b57\u7b26\uff1b$\u662f\u884c\u5c3e) :g\/^s*$\/d<\/p>\n<h4 style=\"color: #454545;\">Sed\u5220\u9664\u7a7a\u884c<\/h4>\n<p style=\"color: #454545;\">sed &#8216;\/^$\/d&#8217;<\/p>\n<p style=\"color: #454545;\">sed \/^[[:space:]]*$\/d<\/p>\n<p style=\"color: #454545;\">sed \/^s*$\/d<\/p>\n<h4 style=\"color: #454545;\">Sed\u5220\u9664\u884c\u9996\u3001\u884c\u5c3e\u7684\u7a7a\u683c<\/h4>\n<p style=\"color: #454545;\">sed &#8216;s\/^[[:space:]]*\/\/g&#8217;<\/p>\n<p style=\"color: #454545;\">sed &#8216;s\/[[:space:]]*$\/\/g&#8217;<\/p>\n<h4 style=\"color: #454545;\">\u7528tr\u547d\u4ee4<\/h4>\n<p style=\"color: #454545;\">tr -s &#8216;n&#8217;<\/p>\n<p style=\"color: #454545;\">awk &#8216;{if($0!=&#8221;&#8221;)print}&#8217;<\/p>\n<p style=\"color: #454545;\">awk &#8216;{if(length !=0) print $0}&#8217;<\/p>\n<p style=\"color: #454545;\">grep -v ^$ file \u00a0 #grep\u53ea\u5c06\u6587\u4ef6file\u4e2d\u7684\u975e\u7a7a\u884c\u663e\u793a\u51fa\u6765<\/p>\n<p style=\"color: #454545;\">grep . file \u00a0 \u00a0 \u00a0 #\u548c\u4e0a\u9762\u7684\u6548\u679c\u4e00\u6837\uff0c\u4f46\u989c\u8272\u548c\u63d0\u793a\u7b26\u76f8\u540c<\/p>\n<p style=\"color: #454545;\">awk NF file<\/p>\n<p style=\"color: #454545;\">awk &#8216;!\/^$\/&#8217; file<\/p>\n<p style=\"color: #454545;\">tr -s &#8220;n&#8221;<\/p>\n<p style=\"color: #454545;\"># locate ncrack #\u53ef\u4ee5\u627e\u5230\u4e0d\u5c11\u7528\u6237\u540d\u548c\u5bc6\u7801\u7684\u5b57\u5178\uff0c\u7b97\u662f\u4e2a\u798f\u5229\u5427\uff01<\/p>\n<p style=\"color: #454545;\"># locate brute #\u597d\u591a\u597d\u4e1c\u897f\uff0c\u6211\u624d\u77e5\u9053nmap\u7684script\u653e\u5728\u54ea\u4e86<\/p>\n<p style=\"color: #454545;\">\u5982\u4f55\u77e5\u9053Medusa\u6709\u54ea\u4e9b\u6a21\u5757\uff0c\u4ece\u800c\u5728\u6267\u884c\u547d\u4ee4\u65f6\u4f7f\u7528-M\u6765\u6307\u5b9a<\/p>\n<p style=\"color: #454545;\">locate medusa<\/p>\n<p style=\"color: #454545;\">medusa -d<\/p>\n<p style=\"color: #454545;\">shell\u811a\u672c:\u4e00\u6b21\u8bfb\u53d6\u6587\u4ef6\u7684\u4e00\u884c\uff0c\u5e76\u8f93\u51fa<\/p>\n<p style=\"color: #454545;\">\u5199\u6cd5\u4e00:<\/p>\n<pre class=\"lang:sh decode:true\">#!\/bin\/bash\n\nwhile read line\ndo\n\u00a0 \u00a0 \u00a0 echo $line \u00a0 \u00a0 #\u8fd9\u91cc\u53ef\u6839\u636e\u5b9e\u9645\u7528\u9014\u53d8\u5316\n\ndone &lt; urfile<\/pre>\n<p style=\"color: #454545;\">\u5199\u6cd5\u4e8c:<\/p>\n<pre class=\"lang:sh decode:true \">#!\/bin\/bash\n\ncat urfile | while read line\ndo\n\u00a0 \u00a0 echo $line\ndone<\/pre>\n<p>&nbsp;<\/p>\n<p style=\"color: #454545;\">find . -size 0 -exec {} ; #\u5220\u9664\u5f53\u524d\u6587\u4ef6\u5939\u4e0b\u5927\u5c0f\u4e3a0\u7684\u6587\u4ef6<\/p>\n<h4 style=\"color: #454545;\">Vim_skills<\/h4>\n<p style=\"color: #454545;\">:w !sudo tee % \u00a0 \u00a0#\u4fdd\u5b58\u5bf9\u201c\u53ea\u8bfb\u6587\u4ef6\u201d\u7684\u4fee\u6539<\/p>\n<p style=\"color: #454545;\">:e! #\u5728Vim\u4e2d\u91cd\u65b0\u7f16\u8f91\u5f53\u524d\u6587\u4ef6\uff0c\u5ffd\u7565\u4e4b\u524d\u6240\u6709\u7684\u4fee\u6539<\/p>\n<p style=\"color: #454545;\">:r! Command #\u5c06\u547d\u4ee4 Command \u7684\u8f93\u51fa\u7ed3\u679c\u63d2\u5165\u5230\u5f53\u524d\u884c<\/p>\n<p style=\"color: #454545;\">:r filename #\u5728\u5149\u6807\u6240\u5728\u5904\u63d2\u5165\u6587\u4ef6filename\u7684\u5185\u5bb9<\/p>\n<p style=\"color: #454545;\">:%!xxd #\u4ee5\u5341\u516d\u8fdb\u5236\u67e5\u770b<\/p>\n<p style=\"color: #454545;\">:%!xxd -r #\u4ece\u5341\u516d\u8fdb\u5236\u8fd4\u56de<\/p>\n<p style=\"color: #454545;\">:n1,n2 w filename #\u5c06 n1 \u884c\u5230 n2 \u884c\u4e4b\u95f4\u7684\u5185\u5bb9\u4fdd\u5b58\u5230\u6587\u4ef6 filename \u4e2d<\/p>\n<h4>\u4ee5root\u7528\u6237\u8fd0\u884cLinux\u4e0a\u7684\u8f6f\u4ef6<\/h4>\n<p>\u4f5c\u4e3a\u4e00\u540droot\u7528\u6237\uff0c\u4e3a\u4e86\u8ba9\u67d0\u4e9b\u4e0d\u80fd\u5728root\u8eab\u4efd\u8fd0\u884c\u7684\u8f6f\u4ef6\u8fd0\u884c\uff08\u8bd1\u6ce8\uff1a\u5178\u578b\u7684\u662fGoogle chrome\uff09\uff0c\u4f60<strong><span style=\"color: #ff0000;\">\u9700\u8981\u5728\u8f6f\u4ef6\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e2d\u6539\u53d8geteuid\u8c03\u7528\u4e3agetppid<\/span><\/strong>\u3002<\/p>\n<p>\u8fd9\u4e2a\u6280\u672f\u5728\u67d0\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u975e\u5e38\u6709\u7528\uff0c\u6bd4\u5982BackTrack\/Kali\uff0c\u8fd9\u91cc\u7684\u5927\u591a\u6570\u5b89\u88c5\u5de5\u4f5c\u90fd\u4ee5root\u7528\u6237\u5b8c\u6210\u3002<\/p>\n<p>\u6bd4\u5982:\u4e3a\u4e86\u4ee5root\u7528\u6237\u8fd0\u884cGoogle Chrome\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4:<\/p>\n<pre class=\"lang:default decode:true\"># hexedit \/opt\/google\/chome\/chrome<\/pre>\n<p>\u63a5\u7740\u6309\u4e0b <strong>Ctrl+S<\/strong>\u00a0\u572816\u8fdb\u5236\u8f6c\u50a8\u6587\u4ef6\u4e2d<span style=\"color: #ff0000;\"><strong>\u641c\u5bfbgeteuid\u5b57\u7b26\u4e32<\/strong><strong>\u3002\u7528\u5b57\u7b26\u4e32getppid\u4ee3\u66ff\u3002<\/strong><\/span>\u6309\u4e0b\u00a0<strong>Ctrl+X\u00a0<\/strong>\u6765\u4fdd\u5b58\u5e76\u9000\u51fa\u7f16\u8f91\u5668\u3002<\/p>\n<p>\u73b0\u5728\u6d4f\u89c8\u5668\u5c31\u53ef\u4ee5\u4ee5root\u7528\u6237\u8fd0\u884c\u4e86\u3002<br \/>\n# google-chrome<\/p>\n<p>\u2014Mayank Bhanderi, mbhanderi24@gmail.com<\/p>\n<h4>Linux\u7684Shell\u91cc\u9762\u751f\u6210\u968f\u673a\u6570\u7684\u4e00\u4e9b\u601d\u8def<\/h4>\n<h6>1.\u4f7f\u7528\u65f6\u95f4\u76f8\u5173\u7684\u968f\u673a\u6570<\/h6>\n<p>\u5229\u7528date\u547d\u4ee4\u751f\u6210\u8f93\u51faunixtimestamp(%s)\u548c\u5f53\u524d\u65f6\u95f4\u7684\u7eb3\u79d2\u6570\u636e(%N\uff0c\u7cbe\u786e\u5230\u4ebf\u5206\u4e4b\u4e00\u79d2)<br \/>\n\u524d\u8005\u4fdd\u8bc1\u5728\u4e0d\u540c\u79d2\u6570\u65f6\u7684\u8f93\u51fa\u4e0d\u91cd\u590d\uff0c\u540e\u8005\u4fdd\u8bc1\u5728\u540c\u4e00\u79d2\u5185\u6570\u5b57\uff08\u5fae\u79d2\uff09\u4e0d\u91cd\u590d\uff0c\u6240\u4ee5\u4e24\u8005\u7ec4\u5408\u4e00\u4e0b\u5c31\u53ef\u4ee5\u4e86<br \/>\n%s seconds since 1970-01-0# 00:00:00 UTC<br \/>\n%N nanoseconds (000000000..999999999)<\/p>\n<p># date +%s%N<br \/>\n\u8fd9\u4e2a\u65b9\u6cd5\u4e0d\u4f9d\u8d56\u7cfb\u7edf\uff1a\u53ea\u8981\u65f6\u95f4\u4e0d\u505c\u6b62\uff0c\u5c31\u4e00\u76f4\u53ef\u4ee5\u5f97\u5230\u4e0d\u91cd\u590d\u7684\u4e3a\u968f\u673a\u6570\u3002<\/p>\n<h6>2.\u7cfb\u7edfshell\u5185\u90e8\u53d8\u91cf $RANDOM<\/h6>\n<p>\u8fd9\u4e48\u6ca1\u5565\u597d\u8bf4\u7684\uff0c\u4f9d\u8d56shell\u3002<\/p>\n<h6>3.\u901a\u8fc7Linux\u7684\u968f\u673a\u8bbe\u5907\u83b7\u53d6\uff0c\u7136\u540e\u7b97\u6821\u9a8c\u548c\uff08\u8ba1\u7b97\u6821\u9a8c\u548c\u8fd9\u4e2a\u8fd8\u771f\u7684\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\uff0c\u5426\u5219\u6709\u4e71\u7801o(\u256f\u25a1\u2570)o\uff09<\/h6>\n<p># head -10 \/dev\/urandom | cksum<br \/>\n\u6ce8\u610f\u8fd9\u91cc\u5343\u4e07\u4e0d\u8981\u4f7f\u7528cat\u53bb\u83b7\u53d6\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u662f\u4e00\u6761\u6ca1\u6709\u5c3d\u5934\u7684\u8def\uff0c\u83b7\u53d61\u884c\u548c10\u884c\u6ca1\u6709\u592a\u5927\u7684\u533a\u522b\uff0c\u8fd9\u4e2a\u5404\u81ea\u770b\u7740\u529e\u5427\uff01<\/p>\n<h6>4.\u901a\u8fc7Linux\u7684\u5185\u6838\u7684UUID\u83b7\u53d6<\/h6>\n<p>UUID\u7684\u8ba1\u7b97\u4fe1\u606f\u4f1a\u52a0\u5165\u786c\u4ef6\uff0c\u65f6\u95f4\uff0c\u673a\u5668\u5f53\u524d\u8fd0\u884c\u4fe1\u606f\u7b49\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u751f\u6210\u7684\u90fd\u662f\u5168\u7403\u552f\u4e00\u7684\uff0c\u65b9\u6cd5\u6bd4\u8f83\u76f4\u63a5\uff1a<br \/>\n# cat \/proc\/sys\/kernel\/random\/uuid<br \/>\n\u5c31\u53ef\u4ee5 \u7136\u540e\u5728\u7b97\u6821\u9a8c\u548c\u8f6c\u6362\u4e3a\u6570\u5b57\u5373\u53ef\uff0c\u4f46\u662f\u4f9d\u8d56Linux\u5185\u6838\u3002<\/p>\n<p>\u5982\u4e0a4\u79cd\u601d\u8def\uff0c\u4ec5\u4f9b\u53c2\u8003\u3002<\/p>\n<p>\u53c2\u8003\u5730\u5740\uff1a<a href=\"http:\/\/blog.ihipop.info\/2014\/07\/4789.html\" target=\"_blank\">Linux\u7684Shell\u91cc\u9762\u751f\u6210\u968f\u673a\u6570\u7684\u4e00\u4e9b\u601d\u8def<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Linux\u670d\u52a1\u5668\u4e2d\u5982\u4f55\u627e\u51fa\u5927\u6587\u4ef6 \u67e5\u627e\u6839\u76ee\u5f55\u4e0b\uff08\u7cfb\u7edf\u4e2d\uff09\u5927\u4e8e50M\u7684\u6587\u4ef6\uff1a find \/ -type f &#8211; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[74,77,78,43],"class_list":["post-104","post","type-post","status-publish","format-standard","hentry","category-linux","tag-awk","tag-grep","tag-sed","tag-vim"],"views":2084,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}