{"id":6735,"date":"2020-03-18T14:26:29","date_gmt":"2020-03-18T06:26:29","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6735"},"modified":"2022-05-18T12:23:15","modified_gmt":"2022-05-18T04:23:15","slug":"view","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/view","title":{"rendered":"view\u547d\u4ee4 – \u7f16\u8f91\u6587\u672c\u6587\u4ef6"},"content":{"rendered":"\n

view\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u7f16\u8f91\u6587\u672c\u6587\u4ef6\u3002view\u5b9e\u9645\u5e76\u4e0d\u662f\u4e00\u4e2a\u771f\u5b9e\u5b58\u5728\u7684\u547d\u4ee4\u6587\u4ef6\uff0c\u800c\u662fvi\u547d\u4ee4\u7684\u522b\u540d\u547d\u4ee4\uff0c\u56e0\u6b64\u4f7f\u7528\u65b9\u6cd5\u4e0evi\u7f16\u8f91\u5668\u5b8c\u5168\u4e00\u81f4\uff0c\u65e0\u9700\u62c5\u5fc3\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f :<\/strong> view [\u53c2\u6570] \u6587\u4ef6\u540d<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-s<\/td>\u9759\u9ed8\u6a21\u5f0f<\/td><\/tr>
— -cmd<\u547d\u4ee4><\/td>\u52a0\u8f7d\u4efb\u4f55vimrc\u6587\u4ef6\u4e4b\u524d\u6267\u884c\u6307\u5b9a\u547d\u4ee4<\/td><\/tr>
-R<\/td>\u53ea\u8bfb\u6a21\u5f0f<\/td><\/tr>
-v<\/td>Vi\u6a21\u5f0f<\/td><\/tr>
-e<\/td>Ex\u6a21\u5f0f<\/td><\/tr>
-y<\/td>\u7b80\u6613\u6a21\u5f0f<\/td><\/tr>
-c<\u547d\u4ee4><\/td>\u52a0\u8f7d\u7b2c\u4e00\u4e2a\u6587\u4ef6\u4e4b\u540e\u6267\u884c\u6307\u5b9a\u547d\u4ee4<\/td><\/tr>
-s<\u811a\u672c\u8f93\u5165\u6587\u4ef6><\/td>\u4ece\u6307\u5b9a\u811a\u672c\u8f93\u5165\u6587\u4ef6\u9605\u8bfb\u666e\u901a\u6a21\u5f0f\u547d\u4ee4<\/td><\/tr>
-w<\u811a\u672c\u8f93\u51fa\u6587\u4ef6><\/td>\u8ffd\u52a0\u6240\u6709\u7c7b\u578b\u7684\u547d\u4ee4\u5199\u5165\u811a\u672c\u8f93\u51fa\u6587\u4ef6<\/td><\/tr>
-W<\u811a\u672c\u8f93\u51fa\u6587\u4ef6><\/td>\u5199\u5165\u6240\u6709\u7c7b\u578b\u7684\u547d\u4ee4\u5230\u6307\u5b9a\u811a\u672c\u8f93\u51fa\u6587\u4ef6<\/td><\/tr>
+<\/td>\u4ece\u6587\u4ef6\u672b\u5c3e\u5f00\u59cb<\/td><\/tr>
+<\u884c\u6570><\/td>\u4ece\u6307\u5b9a\u884c\u5f00\u59cb<\/td><\/tr>
— -noplugin<\/td>\u4e0d\u8981\u52a0\u8f7d\u63d2\u4ef6\u811a\u672c<\/td><\/tr>
-p<\u6570\u91cf><\/td>\u6253\u5f00\u6307\u5b9a\u6570\u91cf\u7684\u6807\u7b7e\u9875\uff08\u5e26\u6587\u4ef6\u540d\uff09<\/td><\/tr>
-r<\u6587\u4ef6\u540d><\/td>\u6062\u590d\u5d29\u6e83\u7684\u4f1a\u8bdd<\/td><\/tr>
-L<\/td>\u7b49\u540c\u4e8e-r<\/td><\/tr>
-r<\/td>\u5217\u51fa\u4ea4\u6362\u6587\u4ef6\u5e76\u9000\u51fa<\/td><\/tr>
-u<vimrc><\/td>\u719f\u7528\u6307\u5b9avimrc\uff0c\u800c\u4e0d\u662f.vimrc<\/td><\/tr>
-T<\u7ec8\u7aef><\/td>\u8bbe\u7f6e\u4f7f\u7528\u6307\u5b9a\u7ec8\u7aef<\/td><\/tr>
-o<\u6570\u91cf><\/td>\u6253\u5f00\u6307\u5b9a\u6570\u91cf\u7684\u7a97\u53e3<\/td><\/tr>
-n<\/td>\u4e0d\u4f7f\u7528\u4ea4\u6362\u6587\u4ef6\uff0c\u53ea\u7528\u5185\u5b58<\/td><\/tr>
-Z<\/td>\u53d7\u9650\u6a21\u5f0f<\/td><\/tr>
-m<\/td>\u4e0d\u5141\u8bb8\u4fee\u6539\uff08\u5199\u5165\uff09<\/td><\/tr>
-b<\/td>\u4e8c\u8fdb\u5236\u6a21\u5f0f<\/td><\/tr>
-M<\/td>\u5728\u6587\u672c\u4e2d\u4e0d\u5141\u8bb8\u4fee\u6539<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u7f16\u8f91\u6307\u5b9a\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# view anaconda-ks.cfg<\/strong><\/pre>\n\n\n\n

\u4ece\u7b2c2\u884c\u5f00\u59cb\uff0c\u7f16\u8f91\u6307\u5b9a\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# view +2 anaconda-ks.cfg<\/strong><\/pre>\n\n\n\n

\u4ee5\u53ea\u8bfb\u6a21\u5f0f\uff0c\u6253\u5f00\u6307\u5b9a\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# view -R anaconda-ks.cfg<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

view\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u7f16\u8f91\u6587\u672c\u6587\u4ef6\u3002view\u5b9e\u9645\u5e76\u4e0d\u662f\u4e00\u4e2a\u771f\u5b9e\u5b58\u5728\u7684\u547d\u4ee4\u6587\u4ef6\uff0c\u800c\u662fvi\u547d\u4ee4\u7684\u522b\u540d\u547d\u4ee4\uff0c\u56e0\u6b64\u4f7f […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6735"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6735"}],"version-history":[{"count":12,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6735\/revisions"}],"predecessor-version":[{"id":9830,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6735\/revisions\/9830"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}