{"id":559,"date":"2021-06-21T12:02:24","date_gmt":"2021-06-21T03:02:24","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=559"},"modified":"2021-06-21T13:22:49","modified_gmt":"2021-06-21T04:22:49","slug":"%e3%80%90%e5%85%a5%e9%96%80-vi%e3%80%801-1-1-%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e3%82%aa%e3%83%bc%e3%83%97%e3%83%b3%e3%81%ae%e8%a3%9c%e8%b6%b3-%e3%80%91%e3%81%ae%e8%a3%9c%e8%b6%b3","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=559","title":{"rendered":"\u3010\u5165\u9580 vi\u30001.1.1 \u30d5\u30a1\u30a4\u30eb\u306e\u30aa\u30fc\u30d7\u30f3 \u3011\u306e\u88dc\u8db3"},"content":{"rendered":"<p>$ vi [ filename ]<\/p>\n<p>vi\u30b3\u30de\u30f3\u30c9\u306e\u69cb\u6587\u306e\u89d2\u304b\u3063\u3053\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u7701\u7565\u3067\u304d\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u3042\u308b\u3002<br \/>\n\u89d2\u304b\u3063\u3053\u305d\u306e\u3082\u306e\u306f\u30bf\u30a4\u30d7\u3057\u306a\u3044\u3088\u3046\u306b\u3002$\u306fLinux\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3002<\/p>\n<p>\u901a\u5e38\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u6642\u306f\u5fc5\u305a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u3002<br \/>\n\u3060\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u7701\u7565\u3059\u308b\u3068\u3001vi\u306f\u540d\u524d\u306a\u3057\u306e\u30d0\u30c3\u30d5\u30a1\u30fc\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u3002<br \/>\n\u3053\u306e\u5834\u5408\u306b\u306f\u3001\u5f8c\u3067\u30d0\u30c3\u30d5\u30a1\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u3080\u6642\u306b\u540d\u524d\u3092\u4ed8\u3051\u308c\u3070\u3044\u3044\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u3001\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u3067\u30e6\u30cb\u30fc\u30af\u306a\u540d\u524d\u306b\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<br \/>\nLinux\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u306f\u4e00\u822c\u7684\u306bUTF-8\u3067\u3042\u308b\u3002<br \/>\nLinux\u306a\u3069\u306eUNIX\u7cfbOS\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u6700\u5927\u9577\u306f255\u30d0\u30a4\u30c8\u3002<br \/>\n\u30d1\u30b9\u306e\u6700\u5927\u9577\u306f1023\u30d0\u30a4\u30c8\uff08\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30eb\u306b\u6e21\u3059\u969b\u306e\u5236\u9650\uff09\u3067\u3042\u308b\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u30018\u30d3\u30c3\u30c8\u306e\u6587\u5b57\u3067\u6709\u308c\u3070\u3069\u3093\u306a\u6587\u5b57\u3067\u3082\u4f7f\u3048\u308b\u304c\u3001<br \/>\n\u5168\u3066\u306e\u30d3\u30c3\u30c8\u304c\u30bc\u30ed\u306e\u6587\u5b57ASCII NULL\u3068\u30b9\u30e9\u30c3\u30b7\u30e5(\/)\u306f\u4f7f\u3048\u306a\u3044\u3002<\/p>\n<p>\u30b9\u30e9\u30c3\u30b7\u30e5\u306f\u3001\u30d1\u30b9\u306e\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u533a\u5207\u308b\u5370\u306b\u4f7f\u308f\u308c\u308b\u3002<br \/>\n\u7a7a\u767d\u306e\u524d\u306b\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5(\\)\u3092\u4ed8\u3051\u308c\u3070\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u7a7a\u767d\u3082\u5165\u308c\u3089\u308c\u308b\u3002<br \/>\n\u3057\u304b\u3057\u73fe\u5b9f\u306b\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u306f\u5927\u6587\u5b57\u3068\u5c0f\u6587\u5b57\u3001\u6570\u5b57\u3001\u30c9\u30c3\u30c8(.)\u3068\u4e0b\u7dda(_)\u306e<br \/>\n\u7d44\u307f\u5408\u308f\u305b\u304c\u4f7f\u308f\u308c\u308b\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3060\u3002<br \/>\nLinux\u3067\u306f\u5927\u6587\u5b57\u3068\u3001\u5c0f\u6587\u5b57\u306f\u533a\u5225\u3055\u308c\u308b\u70b9\u3092\u899a\u3048\u3066\u304a\u3053\u3046\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067practice\u3068\u3044\u3046\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u305f\u3044\u306a\u3089\u3001<br \/>\n\u6b21\u306e\u3088\u3046\u306b\u30bf\u30a4\u30d7\u3059\u308b\u3002<\/p>\n<pre>\r\n$ vi practice\r\n<\/pre>\n<p>\u3053\u308c\u306f\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u30d0\u30c3\u30d5\u30a1\u306f\u7a7a\u3067\u3001\u753b\u9762\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre>\r\n~\r\n~\r\n~\r\n~\r\n\u201dpractice\u201d [NEW file]\r\n<\/pre>\n<p>\u753b\u9762\u306e\u5de6\u5074\u306b\u4e0a\u304b\u3089\u4e0b\u307e\u3067\u4e26\u3093\u3060\u30c1\u30eb\u30c0(~)\u306f\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u7a7a\u884c\u3082\u542b\u3081\u3066\u4e00\u5207\u30c6\u30ad\u30b9\u30c8\u304c<br \/>\n\u5165\u3063\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u8868\u3059\u3002<br \/>\n\u753b\u9762\u306e\u4e00\u756a\u4e0b\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u884c(\u30b9\u30c6\u30fc\u30bf\u30b9\u884c\u3068\u3082\u3044\u3046)\u306b\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u72b6\u614b\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>\u6b21\u306b\u3001\u76f8\u5bfe\u30d1\u30b9\u3068\u7d76\u5bfe\u30d1\u30b9\u306e\u8aac\u660e\u3092\u884c\u3046\u3002<br \/>\n\/home\/jhon\/\u3068\u3044\u3046\u30c7\u30a4\u30ec\u30af\u30c8\u30ea\u306b\u3044\u308b\u3068\u3059\u308b\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001\u76ee\u7684\u3068\u3059\u308b\u5834\u6240\u304c\u540c\u3058\u968e\u5c64\uff08\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u306b\u3042\u308b\u3068\u304d\u306f\u300c.\/\u300d\u3067\u8868\u3059\u3002<\/p>\n<pre>\r\n$ vi .\/letter\r\n<\/pre>\n<p>\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u5408\u306f\u300c.\/\u300d\u306e\u8a18\u8ff0\u3092\u7701\u7565\u3057\u3066\u305d\u306e\u307e\u307e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u8a18\u8ff0\u3057\u3066\u3082\u3088\u3044\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u5f93\u3063\u3066\u3001\u3053\u306e\u30ab\u30ec\u30f3\u30c8\u30c7\u30a4\u30ec\u30af\u306e\u914d\u4e0b\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u30bf\u30a4\u30d7\u3059\u308b\u3002<\/p>\n<pre>\r\n$ vi letter\r\n<\/pre>\n<p>\u307e\u305f\u3001\/home\/jhon\/\u3068\u3044\u3046\u30c7\u30a4\u30ec\u30af\u30c8\u30ea\u3068\u9055\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3044\u308b\u5834\u5408\u306f\u3001\u7d76\u5bfe\u30d1\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3059\u308b\u3002\u7d76\u5bfe\u30d1\u30b9\u306f\u30d5\u30eb\u30d1\u30b9\u3068\u3082\u3044\u3046\u3002<\/p>\n<pre>\r\n$ vi \/home\/jhon\/letter\r\n<\/pre>\n<p>\/home\/merry\u306e\u30c7\u30a4\u30ec\u30af\u30c8\u30ea\u304b\u3089\u76f8\u5bfe\u30d1\u30b9\u3067letter\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001<\/p>\n<pre>\r\n$ vi ..\/jhon\/letter\r\n<\/pre>\n<p>\u3068\u306a\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ vi [ filename ] vi\u30b3\u30de\u30f3\u30c9\u306e\u69cb\u6587\u306e\u89d2\u304b\u3063\u3053\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u7701\u7565\u3067\u304d\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u3042\u308b\u3002 \u89d2\u304b\u3063\u3053\u305d\u306e\u3082\u306e\u306f\u30bf\u30a4\u30d7\u3057\u306a\u3044\u3088\u3046\u306b\u3002$\u306fLinux\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3002 \u901a\u5e38\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30aa\u30fc\u30d7\u30f3\u3059\u308b\u6642\u306f\u5fc5\u305a\u30d5\u30a1&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/559"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=559"}],"version-history":[{"count":17,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/559\/revisions"}],"predecessor-version":[{"id":569,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/559\/revisions\/569"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}