{"id":111219,"date":"2024-12-02T22:47:10","date_gmt":"2024-12-02T14:47:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=111219"},"modified":"2024-12-02T22:47:10","modified_gmt":"2024-12-02T14:47:10","slug":"linux-terminal","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-terminal.html","title":{"rendered":"linux\u7ec8\u7aef\u6982\u89c8"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4f7f\u7528Linux\u7ec8\u7aef\u4e0d\u4ec5\u4ec5\u662f\u53ea\u8f93\u5165\u547d\u4ee4\u3002\u5b66\u4e60\u8fd9\u4e9b\u57fa\u672c\u7684\u6280\u5de7\uff0c\u4f60\u5c31\u4f1a\u9010\u6e10\u638c\u63e1Bash shell\uff0c\u8fd9\u4e2a\u5728\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u4e0a\u9ed8\u8ba4\u4f7f\u7528\u7684\u7ec8\u7aef\u5de5\u5177\u3002\u8fd9\u7bc7\u6587\u7ae0\u662f\u5199\u7ed9\u7f3a\u4e4f\u7ecf\u9a8c\u7684\u65b0\u624b\u7684\uff0c\u6211\u76f8\u4fe1\u5927\u591a\u6570\u9ad8\u7ea7\u7528\u6237\u5df2\u7ecf\u77e5\u9053\u4e86\u6240\u6709\u7684\u8fd9\u4e9b\u6280\u5de7\u3002\u4f46\u662f\uff0c\u4f60\u4ecd\u7136\u53ef\u4ee5\u770b\u770b\uff0c\u4e5f\u8bb8\u80fd\u5b66\u5230\u4f60\u4e00\u76f4\u4ee5\u6765\u90fd\u5ffd\u7565\u4e86\u7684\u4e1c\u897f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

Linux\u7ec8\u7aef\uff1a<\/strong><\/div>\n

\u5728Linux\u7cfb\u7edf\u7684\u8bbe\u5907\u7279\u6b8a\u6587\u4ef6\u76ee\u5f55\/dev\/\u4e0b\uff0c\u7ec8\u7aef\u7279\u6b8a\u8bbe\u5907\u6587\u4ef6\u4e00\u822c\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a<\/p>\n

1\u3001\u4e32\u884c\u7aef\u53e3\u7ec8\u7aef(\/dev\/ttySn)<\/strong><\/div>\n

\u4e32\u884c\u7aef\u53e3\u7ec8\u7aef(Serial Port Terminal)\u662f\u4f7f\u7528\u8ba1\u7b97\u673a\u4e32\u884c\u7aef\u53e3\u8fde\u63a5\u7684\u7ec8\u7aef\u8bbe\u5907\u3002\u8ba1\u7b97\u673a\u628a\u6bcf\u4e2a\u4e32\u884c\u7aef\u53e3\u90fd\u770b\u4f5c\u662f\u4e00\u4e2a\u5b57\u7b26\u8bbe\u5907\u3002
\n\u6709\u6bb5\u65f6\u95f4\u8fd9\u4e9b\u4e32\u884c\u7aef\u53e3\u8bbe\u5907\u901a\u5e38\u88ab\u79f0\u4e3a\u7ec8\u7aef\u8bbe\u5907\uff0c\u56e0\u4e3a\u90a3\u65f6\u5b83\u7684\u6700\u5927\u7528\u9014\u5c31\u662f\u7528\u6765\u8fde\u63a5\u7ec8\u7aef\u3002
\n\u8fd9\u4e9b\u4e32\u884c\u7aef\u53e3\u6240\u5bf9\u5e94\u7684\u8bbe\u5907\u540d\u79f0\u662f\/dev\/tts\/0(\u6216\/dev\/ttyS0), \/dev\/tts\/1(\u6216\/dev\/ttyS1)\u7b49\uff0c\u8bbe\u5907\u53f7\u5206\u522b\u662f(4,0), (4,1)\u7b49\uff0c\u5206\u522b\u5bf9\u5e94\u4e8eDOS\u7cfb\u7edf\u4e0b\u7684COM1\u3001COM2\u7b49\u3002<\/p>\n

\u82e5\u8981\u5411\u4e00\u4e2a\u7aef\u53e3\u53d1\u9001\u6570\u636e\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e0a\u628a\u6807\u51c6\u8f93\u51fa\u91cd\u5b9a\u5411\u5230\u8fd9\u4e9b\u7279\u6b8a\u6587\u4ef6\u540d\u4e0a\u5373\u53ef\uff01\uff01\uff01\uff01
\n\u4f8b\u5982\uff0c\u5728\u547d\u4ee4\u884c\u63d0\u793a\u7b26\u4e0b\u952e\u5165\uff1aecho test > \/dev\/ttyS1\u4f1a\u628a\u5355\u8bcd\u201dtest\u201d\u53d1\u9001\u5230\u8fde\u63a5\u5728ttyS1(COM2)\u7aef\u53e3\u7684\u8bbe\u5907\u4e0a\u3002\u53ef\u63a5\u4e32\u53e3\u6765\u5b9e\u9a8c\u3002<\/p>\n

2\u3001\u4f2a\u7ec8\u7aef(\/dev\/pty\/)<\/strong><\/div>\n

\u4f2a\u7ec8\u7aef(Pseudo Terminal)\u662f\u6210\u5bf9\u7684\u903b\u8f91\u7ec8\u7aef\u8bbe\u5907(\u5373master\u548cslave\u8bbe\u5907, \u5bf9master\u7684\u64cd\u4f5c\u4f1a\u53cd\u6620\u5230slave\u4e0a)\u3002
\n\u4f8b\u5982\/dev\/ptyp3\u548c\/dev\/ttyp3(\u6216\u8005\u5728\u8bbe\u5907\u6587\u4ef6\u7cfb\u7edf\u4e2d\u5206\u522b\u662f\/dev\/pty\/m3\u548c\/dev\/pty\/s3)\uff0c\u5b83\u4eec\u4e0e\u5b9e\u9645\u7269\u7406\u8bbe\u5907\u5e76\u4e0d\u76f4\u63a5\u76f8\u5173\uff01\uff01\uff01!!<\/p>\n

\u5982\u679c\u4e00\u4e2a\u7a0b\u5e8f\u628aptyp3(master\u8bbe\u5907)\u770b\u4f5c\u662f\u4e00\u4e2a\u4e32\u884c\u7aef\u53e3\u8bbe\u5907\uff0c\u5219\u5b83\u5bf9\u8be5\u7aef\u53e3\u7684\u8bfb\/\u5199\u64cd\u4f5c\u4f1a\u53cd\u6620\u5728\u8be5\u903b\u8f91\u7ec8\u7aef\u8bbe\u5907\u5bf9\u5e94\u7684\u53e6\u4e00\u4e2attyp3(slave\u8bbe\u5907)\u4e0a\u9762\u3002
\n\u800cttyp3\u5219\u662f\u53e6\u4e00\u4e2a\u7a0b\u5e8f\u7528\u4e8e\u8bfb\u5199\u64cd\u4f5c\u7684\u903b\u8f91\u8bbe\u5907\u3002<\/p>\n

\u8fd9\u6837\uff0c\u4e24\u4e2a\u7a0b\u5e8f\u5c31\u53ef\u4ee5\u901a\u8fc7\u8fd9\u79cd\u903b\u8f91\u8bbe\u5907\u8fdb\u884c\u4e92\u76f8\u4ea4\u6d41\uff0c\u800c\u5176\u4e2d\u4e00\u4e2a\u4f7f\u7528ttyp3\u7684\u7a0b\u5e8f\u5219\u8ba4\u4e3a\u81ea\u5df1\u6b63\u5728\u4e0e\u4e00\u4e2a\u4e32\u884c\u7aef\u53e3\u8fdb\u884c\u901a\u4fe1\u3002\u8fd9\u5f88\u8c61\u662f\u903b\u8f91\u8bbe\u5907\u5bf9\u4e4b\u95f4\u7684\u7ba1\u9053\u64cd\u4f5c\u3002\u5bf9\u4e8ettyp3(s3)\uff0c\u4efb\u4f55\u8bbe\u8ba1\u6210\u4f7f\u7528\u4e00\u4e2a\u4e32\u884c\u7aef\u53e3\u8bbe\u5907\u7684\u7a0b\u5e8f\u90fd\u53ef\u4ee5\u4f7f\u7528\u8be5\u903b\u8f91\u8bbe\u5907\u3002\u4f46\u5bf9\u4e8e\u4f7f\u7528ptyp3\u7684\u7a0b\u5e8f\uff0c\u5219\u9700\u8981\u4e13\u95e8\u8bbe\u8ba1\u6765\u4f7f\u7528 ptyp3(m3)\u903b\u8f91\u8bbe\u5907\u3002<\/p>\n

\u4f8b\u5982\uff0c\u5982\u679c\u67d0\u4eba\u5728\u7f51\u4e0a\u4f7f\u7528telnet\u7a0b\u5e8f\u8fde\u63a5\u5230\u4f60\u7684\u8ba1\u7b97\u673a\u4e0a\uff0c\u5219telnet\u7a0b\u5e8f\u5c31\u53ef\u80fd\u4f1a\u5f00\u59cb\u8fde\u63a5\u5230\u8bbe\u5907 ptyp2(m2)\u4e0a(\u4e00\u4e2a\u4f2a\u7ec8\u7aef\u7aef\u53e3\u4e0a)\u3002
\n\u6b64\u65f6\u4e00\u4e2agetty\u7a0b\u5e8f\u5c31\u5e94\u8be5\u8fd0\u884c\u5728\u5bf9\u5e94\u7684ttyp2(s2)\u7aef\u53e3\u4e0a\u3002
\n\u5f53telnet\u4ece\u8fdc\u7aef\u83b7\u53d6\u4e86\u4e00\u4e2a\u5b57\u7b26\u65f6\uff0c\u8be5\u5b57\u7b26\u5c31\u4f1a\u901a\u8fc7m2\u3001s2\u4f20\u9012\u7ed9getty\u7a0b\u5e8f\uff0c\u800cgetty\u7a0b\u5e8f\u5c31\u4f1a\u901a\u8fc7s2\u3001m2\u548ctelnet\u7a0b\u5e8f\u5f80\u7f51\u7edc\u4e0a\u8fd4\u56de\u201dlogin:\u201d\u5b57\u7b26\u4e32\u4fe1\u606f\u3002
\n\u8fd9\u6837\uff0c\u767b\u5f55\u7a0b\u5e8f\u4e0etelnet\u7a0b\u5e8f\u5c31\u901a\u8fc7\u201c\u4f2a\u7ec8\u7aef\u201d\u8fdb\u884c\u901a\u4fe1\u3002\u901a\u8fc7\u4f7f\u7528\u9002\u5f53\u7684\u8f6f\u4ef6\uff0c\u5c31\u53ef\u4ee5\u628a\u4e24\u4e2a\u751a\u81f3\u591a\u4e2a\u4f2a\u7ec8\u7aef\u8bbe\u5907\u8fde\u63a5\u5230\u540c\u4e00\u4e2a\u7269\u7406\u4e32\u884c\u7aef\u53e3\u4e0a\u3002<\/p>\n

\u5728\u4f7f\u7528\u8bbe\u5907\u6587\u4ef6\u7cfb\u7edf (device filesystem)\u4e4b\u524d\uff0c\u4e3a\u4e86\u5f97\u5230\u5927\u91cf\u7684\u4f2a\u7ec8\u7aef\u8bbe\u5907\u7279\u6b8a\u6587\u4ef6\uff0c\u4f7f\u7528\u4e86\u6bd4\u8f83\u590d\u6742\u7684\u6587\u4ef6\u540d\u547d\u540d\u65b9\u5f0f\u3002\u56e0\u4e3a\u53ea\u5b58\u572816\u4e2attyp(ttyp0\u2014ttypf) \u7684\u8bbe\u5907\u6587\u4ef6\uff0c\u4e3a\u4e86\u5f97\u5230\u66f4\u591a\u7684\u903b\u8f91\u8bbe\u5907\u5bf9\uff0c\u5c31\u4f7f\u7528\u4e86\u8c61q\u3001r\u3001s\u7b49\u5b57\u7b26\u6765\u4ee3\u66ffp\u3002<\/p>\n

\u4f8b\u5982\uff0cttys8\u548cptys8\u5c31\u662f\u4e00\u4e2a\u4f2a\u7ec8\u7aef\u8bbe\u5907\u5bf9\u3002
\n\u4e0d\u8fc7\u8fd9\u79cd\u547d\u540d\u65b9\u5f0f\u76ee\u524d\u4ecd\u7136\u5728RedHat\u7b49Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528\u7740\u3002
\n\u4f46Linux\u7cfb\u7edf\u4e0a\u7684Unix98\u5e76\u4e0d\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u800c\u4f7f\u7528\u4e86\u201dpty master\u201d\u65b9\u5f0f\uff0c\u4f8b\u5982\/dev\/ptm3\u3002\u5b83\u7684\u5bf9\u5e94\u7aef\u5219\u4f1a\u88ab\u81ea\u52a8\u5730\u521b\u5efa\u6210\/dev\/pts\/3\u3002\u8fd9\u6837\u5c31\u53ef\u4ee5\u5728\u9700\u8981\u65f6\u63d0\u4f9b\u4e00\u4e2apty\u4f2a\u7ec8\u7aef\u3002<\/p>\n

\u76ee\u5f55 \/dev\/pts\u662f\u4e00\u4e2a\u7c7b\u578b\u4e3adevpts\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u88ab\u52a0\u8f7d\u6587\u4ef6\u7cfb\u7edf\u5217\u8868\u4e2d\u770b\u5230\u3002\u867d\u7136\u201c\u6587\u4ef6\u201d\/dev\/pts\/3\u770b\u4e0a\u53bb\u662f\u8bbe\u5907\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u4e00\u9879\uff0c\u4f46\u5176\u5b9e\u5b83\u5b8c\u5168\u662f\u4e00\u79cd\u4e0d\u540c\u7684\u6587\u4ef6\u7cfb\u7edf\u3002
\n\u5373: <\/p>\n

TELNET \u2014> TTYP3(S3: slave) \u2014> PTYP3(M3: master) \u2014> GETTY<\/pre>\n
3\u3001\u63a7\u5236\u7ec8\u7aef(\/dev\/tty)<\/strong><\/div>\n

\u5982\u679c\u5f53\u524d\u8fdb\u7a0b\u6709\u63a7\u5236\u7ec8\u7aef(Controlling Terminal)\u7684\u8bdd\uff0c\u90a3\u4e48\/dev\/tty\u5c31\u662f\u5f53\u524d\u8fdb\u7a0b\u7684\u63a7\u5236\u7ec8\u7aef\u7684\u8bbe\u5907\u7279\u6b8a\u6587\u4ef6\u3002\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201dps -ax\u201d\u6765\u67e5\u770b\u8fdb\u7a0b\u4e0e\u54ea\u4e2a\u63a7\u5236\u7ec8\u7aef\u76f8\u8fde\u3002
\n\u5bf9\u4e8e\u4f60\u767b\u5f55\u7684shell\uff0c\/dev\/tty\u5c31\u662f\u4f60\u4f7f\u7528\u7684\u7ec8\u7aef\uff0c\u8bbe\u5907\u53f7\u662f(5,0)\u3002\u4f7f\u7528\u547d\u4ee4\u201dtty\u201d\u53ef\u4ee5\u67e5\u770b\u5b83\u5177\u4f53\u5bf9\u5e94\u54ea\u4e2a\u5b9e\u9645\u7ec8\u7aef\u8bbe\u5907\u3002\/dev\/tty\u6709\u4e9b\u7c7b\u4f3c\u4e8e\u5230\u5b9e\u9645\u6240\u4f7f\u7528\u7ec8\u7aef\u8bbe\u5907\u7684\u4e00\u4e2a\u8054\u63a5\u3002<\/p>\n

4\u3001\u63a7\u5236\u53f0\u7ec8\u7aef(\/dev\/ttyn, \/dev\/console)<\/strong><\/div>\n

\u5728Linux \u7cfb\u7edf\u4e2d\uff0c\u8ba1\u7b97\u673a\u663e\u793a\u5668\u901a\u5e38\u88ab\u79f0\u4e3a\u63a7\u5236\u53f0\u7ec8\u7aef (Console)\uff01\uff01\uff01\uff01<\/p>\n

\u5b83\u4eff\u771f\u4e86\u7c7b\u578b\u4e3aLinux\u7684\u4e00\u79cd\u7ec8\u7aef(TERM=Linux)\uff0c\u5e76\u4e14\u6709\u4e00\u4e9b\u8bbe\u5907\u7279\u6b8a\u6587\u4ef6\u4e0e\u4e4b\u76f8\u5173\u8054\uff1atty0\u3001tty1\u3001tty2 \u7b49\u3002<\/p>\n

\u5f53\u4f60\u5728\u63a7\u5236\u53f0\u4e0a\u767b\u5f55\u65f6\uff0c\u4f7f\u7528\u7684\u662ftty1\u3002\u4f7f\u7528Alt+[F1\u2014F6]\u7ec4\u5408\u952e\u65f6\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5207\u6362\u5230tty2\u3001tty3\u7b49\u4e0a\u9762\u53bb\u3002
\ntty1\u2013tty6\u7b49\u79f0\u4e3a\u865a\u62df\u7ec8\u7aef\uff0c\u800ctty0\u5219\u662f\u5f53\u524d\u6240\u4f7f\u7528\u865a\u62df\u7ec8\u7aef\u7684\u4e00\u4e2a\u522b\u540d\uff0c\u7cfb\u7edf\u6240\u4ea7\u751f\u7684\u4fe1\u606f\u4f1a\u53d1\u9001\u5230\u8be5\u7ec8\u7aef\u4e0a\u3002
\n\u56e0\u6b64\u4e0d\u7ba1\u5f53\u524d\u6b63\u5728\u4f7f\u7528\u54ea\u4e2a\u865a\u62df\u7ec8\u7aef\uff0c\u7cfb\u7edf\u4fe1\u606f\u90fd\u4f1a\u53d1\u9001\u5230\u63a7\u5236\u53f0\u7ec8\u7aef\u4e0a\u3002\u4f60\u53ef\u4ee5\u767b\u5f55\u5230\u4e0d\u540c\u7684\u865a\u62df\u7ec8\u7aef\u4e0a\u53bb\uff0c\u56e0\u800c\u53ef\u4ee5\u8ba9\u7cfb\u7edf\u540c\u65f6\u6709\u51e0\u4e2a\u4e0d\u540c\u7684\u4f1a\u8bdd\u5b58\u5728\u3002\u53ea\u6709\u7cfb\u7edf\u6216\u8d85\u7ea7\u7528\u6237root\u53ef\u4ee5\u5411 \/dev\/tty0\u8fdb\u884c\u5199\u64cd\u4f5c \u5373\u4e0b\u4f8b\uff1a<\/p>\n

\r\n\uff081\uff09# tty(\u67e5\u770b\u5f53\u524dTTY)\r\n\/dev\/tty1\r\n\uff082\uff09#echo \u201ctest tty0\u201d > \/dev\/tty0\r\ntest tty0\r\n<\/pre>\n
5 \u865a\u62df\u7ec8\u7aef(\/dev\/pts\/n)<\/strong><\/div>\n

\u5728Xwindows\u6a21\u5f0f\u4e0b\u7684\u4f2a\u7ec8\u7aef.<\/p>\n

6 \u5176\u5b83\u7c7b\u578b<\/strong><\/div>\n

Linux\u7cfb\u7edf\u4e2d\u8fd8\u9488\u5bf9\u5f88\u591a\u4e0d\u540c\u7684\u5b57\u7b26\u8bbe\u5907\u5b58\u5728\u6709\u5f88\u591a\u5176\u5b83\u79cd\u7c7b\u7684\u7ec8\u7aef\u8bbe\u5907\u7279\u6b8a\u6587\u4ef6\u3002\u4f8b\u5982\u9488\u5bf9ISDN\u8bbe\u5907\u7684\/dev\/ttyIn\u7ec8\u7aef\u8bbe\u5907\u7b49\u3002<\/p>\n

1 pty(\u865a\u62df\u7ec8\u7aef\u6216\u4f2a\u7ec8\u7aef)
\n\u5f53\u6211\u4eec\u8fdc\u7a0btelnet\u5230\u4e3b\u673a\u6216\u4f7f\u7528xterm\u65f6\u4e0d\u4e5f\u9700\u8981\u4e00\u4e2a\u7ec8\u7aef\u4ea4\u4e92\u4e48\uff1f\u662f\u7684\uff0c\u8fd9\u5c31\u662f\u865a\u62df\u7ec8\u7aefpty(pseudo-tty)\u3002<\/p>\n

2 tty(\u7ec8\u7aef\u8bbe\u5907\u7684\u7edf\u79f0):
\ntty\u4e00\u8bcd\u6e90\u4e8eTeletypes\uff0c\u6216\u8005teletypewriters\uff0c\u539f\u6765\u6307\u7684\u662f\u7535\u4f20\u6253\u5b57\u673a\uff0c\u662f\u901a\u8fc7\u4e32\u884c\u7ebf\u7528\u6253\u5370\u673a\u952e\u76d8\u901a\u8fc7\u9605\u8bfb\u548c\u53d1\u9001\u4fe1\u606f\u7684\u4e1c\u897f\uff0c\u540e\u6765\u8fd9\u4e1c\u897f\u88ab\u952e\u76d8\u4e0e\u663e\u793a\u5668\u53d6\u4ee3\uff0c\u6240\u4ee5\u73b0\u5728\u53eb\u7ec8\u7aef\u6bd4\u8f83\u5408\u9002\u3002
\n\u7ec8\u7aef\u662f\u4e00\u79cd\u5b57\u7b26\u578b\u8bbe\u5907\uff0c\u5b83\u6709\u591a\u79cd\u7c7b\u578b\uff0c\u901a\u5e38\u4f7f\u7528tty\u6765\u7b80\u79f0\u5404\u79cd\u7c7b\u578b\u7684\u7ec8\u7aef\u8bbe\u5907\u3002<\/p>\n

3 pts\/ptmx(pts\/ptmx\u7ed3\u5408\u4f7f\u7528\uff0c\u8fdb\u800c\u5b9e\u73b0pty):
\npts(pseudo-terminal slave)\u662fpty\u7684\u5b9e\u73b0\u65b9\u6cd5\uff0c\u4e0eptmx(pseudo-terminal master)\u914d\u5408\u4f7f\u7528\u5b9e\u73b0pty\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.cnblogs.com\/liliyang\/p\/9283214.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/linux-terminal.html<\/a>\u7f16\u8f91\uff1a\u51af\u745e\u6d9b\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u4f7f\u7528Linux\u7ec8\u7aef\u4e0d\u4ec5\u4ec5\u662f\u53ea\u8f93\u5165\u547d\u4ee4\u3002\u5b66\u4e60\u8fd9\u4e9b\u57fa\u672c\u7684\u6280\u5de7\uff0c\u4f60\u5c31\u4f1a\u9010\u6e10\u638c\u63e1Bash shell\uff0c\u8fd9\u4e2a\u5728\u5927\u591a […]<\/p>\n","protected":false},"author":1329,"featured_media":111221,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-111219","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/111219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=111219"}],"version-history":[{"count":6,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/111219\/revisions"}],"predecessor-version":[{"id":111351,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/111219\/revisions\/111351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/111221"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=111219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=111219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=111219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}