﻿{"id":18791,"date":"2022-11-14T08:25:39","date_gmt":"2022-11-14T00:25:39","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=18791"},"modified":"2022-11-13T17:15:05","modified_gmt":"2022-11-13T09:15:05","slug":"bash-shell-brace-expansion","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/bash-shell-brace-expansion.html","title":{"rendered":"\u5728 Bash Shell \u4e2d\u4f7f\u7528\u82b1\u62ec\u53f7\u6269\u5c55"},"content":{"rendered":"<p>\u82b1\u62ec\u53f7\u6269\u5c55 {..} \u662f Linux \u4e2d\u6700\u672a\u88ab\u5145\u5206\u5229\u7528\u4f46\u53c8\u975e\u5e38\u68d2\u7684 Shell \u7279\u6027\u4e4b\u4e00\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u7528\u5b83\u6765\u6253\u5370\u6570\u5b57\u548c\u5b57\u6bcd\u5e8f\u5217\u3002\u6dfb\u52a0\u4e24\u4e2a\u6574\u6570\u6216\u7528\u82b1\u62ec\u53f7\u4e2d\u7684\u4e24\u70b9\u5206\u9694\u7684\u5b57\u6bcd\uff0c\u7136\u540e\u770b\u770b\u5b83\u7684\u795e\u5947\u4e4b\u5904\u3002<\/p>\n<p>\u4e3e\u4e2a\u6700\u7b80\u5355\u7684\u4f8b\u5b50:<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {1..10}<\/code><\/pre>\n<p>\u4f60\u80fd\u731c\u5230\u8f93\u51fa\u5417?<\/p>\n<p>\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">1 2 3 4 5 6 7 8 9 10<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18797\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-1.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u8f93\u51fa\u5e8f\u5217\u6253\u5370\u5728\u540c\u4e00\u884c\u4e2d\uff0c\u5b83\u4eec\u4e4b\u95f4\u6709\u7a7a\u683c\u3002<\/p>\n<p>\u6211\u518d\u4e3e\u51e0\u4e2a\u82b1\u62ec\u53f7\u6269\u5c55\u7684\u4f8b\u5b50\u4ee5\u4fbf\u4f60\u4eec\u66f4\u597d\u5730\u7406\u89e3\u5b83\u7684\u4f5c\u7528\u3002<\/p>\n<p><strong>\u82b1\u62ec\u53f7\u6269\u5c55\u793a\u4f8b<\/strong><\/p>\n<p>\u5047\u8bbe\u4f60\u60f3\u8981\u5f97\u5230\u4e00\u4e2a\u4ece 7 \u5230 1 \u7684\u9006\u5e8f\u5217\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {7..1}\r\n7 6 5 4 3 2 1<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18798\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-2.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u60a8\u53ef\u4ee5\u6dfb\u52a0\u524d\u5bfc\u96f6\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {01..10}\r\n01 02 03 04 05 06 07 08 09 10<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18814\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash15.png\" alt=\"\" width=\"1025\" height=\"260\" \/><\/p>\n<p>\u4f60\u53ef\u4ee5\u7528{x..y..z}\u751f\u6210\u4ece x \u5230 y \u7684\u503c\uff0c\u540c\u65f6\u589e\u52a0 z\u3002<\/p>\n<p>\u5047\u8bbe\u4f60\u60f3\u8981\u4e00\u4e2a\u76f4\u5230 15 \u7684\u5076\u6570\u5e8f\u5217\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {0..15..2}\r\n0 2 4 6 8 10 12 14\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18799\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-3.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u6216\u8005\u5f97\u5230\u4e00\u4e2a\u5947\u6570\u5e8f\u5217:<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {1..15..2}\r\n1 3 5 7 9 11 13 15<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18800\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-4.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u4f60\u53ef\u4ee5\u91c7\u53d6\u4efb\u4f55\u6e10\u8fdb\u7684\u6b65\u9aa4:<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {100..1000..99}\r\n100 199 298 397 496 595 694 793 892 991<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18801\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-5.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u5b83\u4e5f\u53ef\u4ee5\u662f\u8d1f\u6570\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {3..-4}\r\n3 2 1 0 -1 -2 -3 -4<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18802\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-6.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u5927\u62ec\u53f7\u4e2d\u7684\u70b9\u4e4b\u95f4\u4e0d\u80fd\u6709\u7a7a\u683c\u3002\u5426\u5219\uff0c\u6269\u5c55\u5c06\u65e0\u6cd5\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u4f7f\u7528\u5b57\u6bcd\u987a\u5e8f<\/strong><\/p>\n<p>\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u6211\u53ea\u4f7f\u7528\u4e86\u6570\u5b57\u5e8f\u5217\u3002\u4f46\u662f\u4f60\u4e5f\u53ef\u4ee5\u7528\u5b83\u6765\u751f\u6210\u5b57\u6bcd\u5e8f\u5217\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {A..H}\r\nA B C D E F G H<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18803\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-7.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u53cd\u8fc7\u6765\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {H..A}\r\nH G F E D C B A<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18804\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-8.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u6216\u8005\u8fdb\u5165\u9012\u589e\u6216\u9012\u51cf\u6b65\u9aa4\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {H..A..2}\r\n{H..A..2}\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18805\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-9.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p>\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u76f8\u540c\u7684\u5c0f\u5199\u5b57\u6bcd\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {a..f}\r\na b c d e f<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18806\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-10.png\" alt=\"\" width=\"1025\" height=\"288\" \/><\/p>\n<p><strong>\u82b1\u62ec\u53f7\u6269\u5c55\u7684\u5b9e\u9645\u5e94\u7528<\/strong><\/p>\n<p>\u524d\u6587\u6211\u4eec\u5c55\u793a\u4e86\u5728 bash shell \u4e2d\u4f7f\u7528\u82b1\u62ec\u53f7\u6269\u5c55\u521b\u5efa\u5e8f\u5217\u7684\u793a\u4f8b\u3002<\/p>\n<p>\u4f46\u5b83\u4eec\u4e0d\u662f\u5b9e\u9645\u7684\u4f8b\u5b50\u3002\u4f60\u53ef\u4ee5\u628a\u5b83\u7528\u5230\u4e00\u4e9b\u5b9e\u9645\u7684\u597d\u7528\u9014\u3002\u8ba9\u6211\u5206\u4eab\u51e0\u4e2a\u8fd9\u6837\u7684\u4f8b\u5b50\u3002<\/p>\n<p><strong>\u521b\u5efa\u5177\u6709\u76f8\u4f3c\u540d\u79f0\u7684\u591a\u4e2a\u6587\u4ef6<\/strong><\/p>\n<p>\u521b\u5efa\u5177\u6709\u7279\u5b9a\u540d\u79f0\u6a21\u5f0f\u7684\u6587\u4ef6\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ touch linuxmi_{1..10}.txt\r\n                                                                           \r\n\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ ls                       \r\nlinuxmi         linuxmi_2.txt  linuxmi_5.txt  linuxmi_8.txt\r\nlinuxmi_10.txt  linuxmi_3.txt  linuxmi_6.txt  linuxmi_9.txt\r\nlinuxmi_1.txt   linuxmi_4.txt  linuxmi_7.txt  www.linuxmi.com\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18807\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-11.png\" alt=\"\" width=\"1025\" height=\"428\" \/><\/p>\n<p><strong>\u521b\u5efa\u5907\u4efd\u6587\u4ef6<\/strong><\/p>\n<p>\u5f53\u60a8\u8981\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\u65f6\uff0c\u5efa\u8bae\u8fdb\u884c\u5907\u4efd\u3002\u4e00\u822c\u60ef\u4f8b\u662f\u5728\u539f\u59cb\u6587\u4ef6\u540d\u4e2d\u6dfb\u52a0.bak\u6269\u5c55\u540d\u3002\u8fd9\u8868\u793a\u5b83\u662f\u7ed9\u5b9a\u6587\u4ef6\u540d\u7684\u5907\u4efd\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ cp -p linuxmi_1.txt linuxmi_1.txt.bak<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18808\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-12.png\" alt=\"\" width=\"1025\" height=\"260\" \/><\/p>\n<p>\u5f88\u9177\u5427\uff0c\u73b0\u5728\u8ba9\u6211\u4eec\u4f7f\u7528\u82b1\u62ec\u53f7\u6269\u5c55\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ cp -p linuxmi_2.txt{,.bak}<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18809\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-13.png\" alt=\"\" width=\"1025\" height=\"260\" \/><\/p>\n<p>\u662f\u7684\uff01\u8fd9\u4e2a \u00a0<code>{,text}<\/code> \u4e0d\u662f\u901a\u5e38\u7684 {X..Y} \u6a21\u5f0f\uff0c\u4f46\u60a8\u5e94\u8be5\u77e5\u9053\u5b83\u662f\u4e00\u4e2a\u6709\u7528\u7684\u6a21\u5f0f\u3002<\/p>\n<p>cp \u547d\u4ee4\u7684 -p \u9009\u9879\u4fdd\u7559\u6587\u4ef6\u5c5e\u6027\uff0c\u5982\u6240\u6709\u6743\u3001\u65f6\u95f4\u6233\u7b49\u3002<\/p>\n<p><strong>\u4f7f\u7528\u591a\u4e2a\u82b1\u62ec\u53f7<\/strong><\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u82b1\u62ec\u53f7\u6765\u521b\u5efa\u5177\u6709\u76f8\u4f3c\u540d\u79f0\u548c\u4e0d\u540c\u6269\u5c55\u540d\u7684\u6587\u4ef6\u3002\u8fd9\u53ea\u662f\u4f7f\u7528\u591a\u4e2a\u82b1\u62ec\u53f7\u7684\u4e00\u4e2a\u4f8b\u5b50\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ touch {a,b,c}.{hpp,cpp}\r\n                                                                           \r\n\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ ls\r\na.cpp  a.hpp  b.cpp  b.hpp  c.cpp  c.hpp<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18810\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-14.png\" alt=\"\" width=\"1025\" height=\"372\" \/><\/p>\n<p><strong>\u5728\u8def\u5f84\u4e2d\u4f7f\u7528\u82b1\u62ec\u53f7\u6269\u5c55<\/strong><\/p>\n<p>\u5047\u8bbe\u60a8\u6709\u4e00\u4e2a\u7c7b\u4f3c\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u53ea\u9700\u7a0d\u4f5c\u66f4\u6539\u3002\u82b1\u62ec\u53f7\u6269\u5c55\u5728\u8fd9\u91cc\u5f88\u6709\u7528\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">mv project\/{new,old}\/dir\/file<\/code><\/pre>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u76f8\u5f53\u4e8e\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">mv project\/new\/dir\/file project\/old\/dir\/file<\/code><\/pre>\n<p><strong>\u4e0d\u662f\u6240\u6709\u7684\u4e1c\u897f\u90fd\u53ef\u4ee5\u4f7f\u7528\u6269\u5c55<\/strong><\/p>\n<p>\u90a3\u662f\u4e0d\u7528\u8bf4\u7684\u3002\u4f60\u60f3\u8981\u521b\u9020\u5e8f\u5217\uff0c\u6240\u4ee5\u5b83\u5e94\u8be5\u662f\u53ef\u4ee5\u88ab\u521b\u9020\u6210\u5e8f\u5217\u7684\u4e1c\u897f\u3002\u5982\u679c\u4f60\u4f7f\u7528\u4e00\u4e2a\u5947\u602a\u7684\u7ec4\u5408\uff0c\u5b83\u5c31\u4e0d\u53ef\u4ee5\u4f7f\u7528\u6269\u5c55\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {1..Z}                                                        1 \u2a2f\r\n1 2 3 4 5 6 7 8 9 : ; &lt; = &gt; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18811\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-16.png\" alt=\"\" width=\"1025\" height=\"316\" \/><\/p>\n<p>\u4e0d\u80fd\u4f7f\u7528\u5c0f\u6570\u70b9\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {1..5..0.5}\r\n{1..5..0.5}<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18812\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-17.png\" alt=\"\" width=\"1025\" height=\"260\" \/><\/p>\n<p>\u5bf9\u4e8e\u4e00\u4e9b\u5947\u602a\u7684\u7ec4\u5408\uff0c\u5b83\u53ef\u80fd\u4f1a\u4ea7\u751f\u5947\u602a\u7684\u7ed3\u679c\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"null\">\u250c\u2500\u2500(linuxmi\u327flinuxmi)-[~\/www.linuxmi.com]\r\n\u2514\u2500$ echo {a..F}\r\na ` _ ^ ] \\ [ Z Y X W V U T S R Q P O N M L K J I H G F<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18813\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/11\/bash1-18.png\" alt=\"\" width=\"1025\" height=\"260\" \/><\/p>\n<p><strong>\u7ed3\u8bba<\/strong><\/p>\n<p>\u5f53\u4f60\u521a\u5f00\u59cb\u4f7f\u7528\u65f6\uff0c\u53ef\u80fd\u4f1a\u89c9\u5f97\u82b1\u62ec\u53f7\u6269\u5c55\u5f88\u9ebb\u70e6\u3002\u624b\u5de5\u6253\u5b57\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\uff0c\u4f46\u6211\u7684\u610f\u601d\u662f\u4e00\u65e6\u5b83\u8fdb\u5165\u4f60\u7684\u808c\u8089\u8bb0\u5fc6\uff0c\u5b83\u5c06\u628a\u4f60\u7684 Linux \u547d\u4ee4\u6280\u80fd\u63d0\u5347\u5230\u53e6\u4e00\u4e2a\u6c34\u5e73\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u5c3d\u91cf\u5728 shell \u811a\u672c\u4e2d\u4f7f\u7528\u82b1\u62ec\u53f7\u6269\u5c55\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u82b1\u62ec\u53f7\u6269\u5c55 {..} \u662f Linux \u4e2d\u6700\u672a\u88ab\u5145\u5206\u5229\u7528\u4f46\u53c8\u975e\u5e38\u68d2\u7684 Shell \u7279\u6027\u4e4b\u4e00\u3002 \u4f60\u53ef\u4ee5\u7528 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[75,1255,154],"class_list":["post-18791","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bash","tag-bash-shell","tag-shell"],"aioseo_notices":[],"views":592,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/18791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=18791"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/18791\/revisions"}],"predecessor-version":[{"id":18815,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/18791\/revisions\/18815"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=18791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=18791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=18791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}