{"id":1605,"date":"2016-03-07T09:00:48","date_gmt":"2016-03-07T00:00:48","guid":{"rendered":"http:\/\/www.ilii.co.jp\/ili-zine\/?p=1605"},"modified":"2016-03-07T08:57:19","modified_gmt":"2016-03-06T23:57:19","slug":"20160308-2","status":"publish","type":"post","link":"https:\/\/www.ilii.jp\/ili-zine\/geek\/20160308-2.html","title":{"rendered":"\u7b2c39\u56de\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306a\u6280\u8853\u30ce\u30a6\u30cf\u30a6\u96c6"},"content":{"rendered":"<p>\u307f\u306a\u3055\u3093\u3053\u3093\u306b\u3061\u306f\u3002<\/p>\n<p>\u82b1\u7c89\u75c7\u306b\u60a9\u307e\u3055\u308c\u308b\u5b63\u7bc0\u30013\u6708\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u51fa\u4f1a\u3044\u3068\u5225\u308c\u306e\u6642\u671f\u3068\u3082\u3044\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>4\u6708\u306b\u306a\u308b\u3068\u3001\u65b0\u5165\u793e\u54e1\u304c\u5165\u3063\u3066\u304f\u308b\u4f1a\u793e\u3082\u591a\u3044\u3053\u3068\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u65b0\u5165\u793e\u54e1\u3060\u3051\u3067\u306a\u304f\u3001\u7d4c\u9a13\u8005\u63a1\u7528\u3067\u8ee2\u8077\u3055\u308c\u305f\u3082\u542b\u3081\u3001\u65b0\u305f\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u30b9\u30bf\u30fc\u30c8\u3059\u308b\u65b9\u3005\u306f\u3001\u65b0\u3057\u3044\u696d\u52d9\u3001\u65b0\u3057\u3044\u696d\u754c\u3067\u306e\u30eb\u30fc\u30eb\u3001\u65b0\u3057\u3044\u6280\u8853\u7684\u306a\u77e5\u8b58\u3001\u65b0\u3057\u3044\u4f1a\u793e\u5185\u306e\u30eb\u30fc\u30eb\u306a\u3069\u3001\u305f\u304f\u3055\u3093\u306e\u65b0\u3057\u3044\u3053\u3068\u3092\u899a\u3048\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u6642\u671f\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306a\u793e\u4f1a\u4eba\u3068\u3057\u3066\u306e\u632f\u308b\u821e\u3044\u306a\u3069\u3001\u793e\u4f1a\u5171\u901a\u306e\u5e38\u8b58\u306f\u5916\u90e8\u306e\u7814\u4fee\u3092\u5229\u7528\u3057\u3066\u5b66\u7fd2\u3059\u308b\u3053\u3068\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u4f1a\u793e\u72ec\u81ea\u3067\u84c4\u7a4d\u3055\u308c\u3066\u304d\u305f\u30ce\u30a6\u30cf\u30a6\u3084\u3001\u4f1a\u793e\u72ec\u81ea\u306e\u30eb\u30fc\u30eb\u306a\u3069\u306f\u3001\u4f1a\u793e\u5185\u3067\u77e5\u8b58\u3084\u60c5\u5831\u5171\u6709\u3092\u3059\u308b\u305f\u3081\u306b\u3001\u6a19\u6e96\u5316\u3092\u884c\u3046\u306e\u304c\u3088\u3044\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f\u81ea\u793e\u72ec\u81ea\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u30ca\u30ec\u30c3\u30b8\u30d9\u30fc\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3067\u3001\u5f8c\u304b\u3089\u5165\u3063\u3066\u304d\u305f\u4eba\u306b\u3082\u30b9\u30e0\u30fc\u30ba\u306b\u77e5\u8b58\u3084\u30eb\u30fc\u30eb\u306e\u5171\u6709\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u8a33\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u306e\u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u306a\u304f\u3001\u305d\u3046\u3044\u3063\u305f\u7279\u5b9a\u306e\u30ce\u30a6\u30cf\u30a6\u3092\u4f53\u7cfb\u7684\u306b\u307e\u3068\u3081\u3066\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3068\u3057\u3066\u516c\u958b\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/p>\n<p>\u77e5\u8b58\u3092\u30aa\u30fc\u30d7\u30f3\u306b\u3057\u305f\u308a\u3001\u30ce\u30a6\u30cf\u30a6\u3092\u4f53\u7cfb\u7684\u306b\u307e\u3068\u3081\u3066\u516c\u958b\u3059\u308b\u3088\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u3068\u3044\u3063\u305f\u610f\u5473\u3067\u306f\u3001\u300cNAVER\u307e\u3068\u3081\u300d\u3084\u300cQiita(\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u6280\u8853\u5171\u6709\u30b5\u30fc\u30d3\u30b9)\u300d\u3001\u300cQuora\u300d\u306a\u3069\u3001\u307e\u3068\u3081\u30b5\u30a4\u30c8\u3001\u77e5\u8b58\u5171\u6709\u30b5\u30a4\u30c8\u3068\u3057\u3066\u69d8\u3005\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u69cb\u7bc9\u3055\u308c\u3066\u304a\u308a\u3001\u4ed6\u30b5\u30fc\u30d3\u30b9\u3068\u9055\u3046\u70b9\u306f\u3001\u516c\u958b\u3055\u308c\u305f\u5f8c\u306b\u4e0d\u7279\u5b9a\u591a\u6570\u306e\u4eba\u304b\u3089\u4fee\u6b63\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u3001\u826f\u3044\u3068\u601d\u308f\u308c\u308b\u3082\u306e\u306f\u30de\u30fc\u30b8\u3055\u308c\u3066\u3001\u3069\u3093\u3069\u3093\u9032\u5316\u3059\u308b\u30ce\u30a6\u30cf\u30a6\u96c6\u3067\u3042\u308b\u3053\u3068\u3002<br \/>\n\u30ce\u30a6\u30cf\u30a6\u304c\u65e5\u3005\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u3068\u3082\u3044\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u3053\u308c\u3089\u30ce\u30a6\u30cf\u30a6\u304c\u3001\u672c\u6765\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308bgithub\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u70b9\u3082\u7279\u5fb4\u7684\u3067\u3057\u3087\u3046\u3002<\/p>\n<p><strong>\u25a0<a href=\"https:\/\/goo.gl\/oGsnfE\" target=\"_blank\">The Art of Command Line<\/a><\/strong><\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u4e3b\u306bLinux\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u5b66\u3076\u3068\u304d\u306b\u5f79\u7acb\u3064\u60c5\u5831\u304c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Linux\u3092\u521d\u3081\u3066\u89e6\u308b\u3068\u304d\u3001\u7279\u306b\u62b5\u6297\u304c\u3042\u308b\u306e\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306e\u64cd\u4f5c\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u3068\u304d\u306b\u6700\u77ed\u8ddd\u96e2\u3067\u3088\u304f\u3064\u304b\u3046\u30b3\u30de\u30f3\u30c9\u3084\u5f79\u306b\u7acb\u3064\u30b3\u30de\u30f3\u30c9\u3092\u52b9\u7387\u7684\u306b\u5b66\u3076\u306b\u306f\u826f\u3044\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8aac\u660e\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u6d41\u308c\u308b\u3088\u3046\u306b\u64cd\u4f5c\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u8efd\u304f\u898b\u3089\u308c\u305f\u308a\u4ed6\u4eba\u304b\u3089\u7406\u89e3\u3055\u308c\u306a\u3044\u30b9\u30ad\u30eb\u3060\u3068\u307f\u306a\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308b\u3060\u308d\u3046\u3002<br \/>\n\u3057\u304b\u3057\u305d\u306e\u30b9\u30ad\u30eb\u306f\u3001\u660e\u3089\u304b\u306b\u304b\u3059\u3050\u5206\u304b\u308b\u3088\u3046\u304b\u306f\u554f\u308f\u305a\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u3042\u306a\u305f\u306e\u67d4\u8edf\u6027\u3084\u751f\u7523\u6027\u3092\u6539\u5584\u3057\u3066\u304f\u308c\u308b\u3082\u306e\u3060\u3002<br \/>\n\u3053\u3053\u3067\u306f\u3001Linux\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u3046\u4e0a\u3067\u4fbf\u5229\u3060\u3068\u601d\u3063\u305f\u30e1\u30e2\u3084Tips\u306e\u6570\u3005\u3092\u6319\u3052\u3066\u307f\u308b\u3002<br \/>\n\u3042\u308b\u3082\u306e\u306f\u57fa\u790e\u7684\u3060\u304c\u3001\u975e\u5e38\u306b\u8a73\u3057\u3044\u3082\u306e\u3001\u6d17\u7df4\u3055\u308c\u305f\u3082\u306e\u3001\u66d6\u6627\u306a\u3082\u306e\u3082\u3042\u308b\u3002\u3053\u306e\u30da\u30fc\u30b8\u306f\u305d\u3093\u306a\u306b\u9577\u3044\u3082\u306e\u3067\u306f\u306a\u3044\u304c\u3001\u3053\u3053\u306b\u66f8\u3044\u3066\u3042\u308b\u3053\u3068\u306e\u5168\u3066\u3092\u4f7f\u3063\u305f\u308a\u601d\u3044\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u304b\u306a\u308a\u8a73\u3057\u304f\u306a\u308c\u308b\u3060\u308d\u3046\u3002<\/p><\/blockquote>\n<p>\u3053\u306e\u901a\u308a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u6587\u7ae0\u306f\u591a\u56fd\u8a9e\u5316\u3055\u308c\u3001\u65e5\u672c\u8a9e\u306b\u3082\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u6587\u7ae0\u306e\u5bfe\u8c61\uff1a\u521d\u5fc3\u8005\u5411\u3051\u3067\u3082\u3042\u308b\u3057\u3001\u7d4c\u9a13\u8005\u5411\u304d\u3067\u3082\u3042\u308b\u3068\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u79c1\u3082Linux\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3068\u306f10\u5e74\u6765\u4ee5\u4e0a\u306e\u3064\u304d\u3042\u3044\u3067\u3059\u304c\u3001\u77e5\u3089\u306a\u3044\u30b3\u30de\u30f3\u30c9\u3084\u3084\u308a\u65b9\u306e\u30ce\u30a6\u30cf\u30a6\u304c\u7d50\u69cb\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070<\/p>\n<p>\u25a0<a href=\"https:\/\/mosh.mit.edu\/\" target=\"_blank\">mosh<\/a>\u306fUDP\u3092\u4f7f\u3063\u305fssh\u306e\u4ee3\u66ff\u3067\u3001(\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u306e\u8a2d\u5b9a\u306f\u5fc5\u8981\u3067\u3042\u308b\u304c)\u65ad\u7d9a\u7684\u306a\u63a5\u7d9a\u6642\u306b\u4fbf\u5229\u3002<\/p>\n<p>\u25a0\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea(\u3068\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)\u5168\u4f53\u3092\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306b\u516c\u958b\u3055\u308c\u305fWeb\u30b5\u30fc\u30d0\u306b\u3059\u308b\u306a\u3089\u3001python -m SimpleHTTPServer 7777 (\u30dd\u30fc\u30c87777\u3067\u516c\u958b\u3002Python 2\u306e\u5834\u5408)\u3042\u308b\u3044\u306fpython -m http.server 7777 (Python 3\u306e\u5834\u5408)\u3002<\/p>\n<p>\u25a0\u6539\u826f\u7248traceroute\u3068\u3057\u3066mtr\u3092\u4f7f\u3063\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u554f\u984c\u3092\u8abf\u67fb\u3057\u3088\u3046\u3002<\/p>\n<p>\u25a0\u30c7\u30a3\u30b9\u30af\u304c\u3044\u3063\u3071\u3044\u306b\u306a\u3063\u3066\u3044\u308b\u7406\u7531\u3092\u8abf\u3079\u308b\u306b\u306f\u3001ncdu\u3092\u4f7f\u3046\u3068du -sh *\u3088\u308a\u6642\u9593\u304c\u7bc0\u7d04\u3067\u304d\u308b\u3002<\/p>\n<p>\u25a0\u5e2f\u57df\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u304c\u3069\u306e\u30bd\u30b1\u30c3\u30c8\u3084\u30d7\u30ed\u30bb\u30b9\u306a\u306e\u304b\u3092\u898b\u3064\u3051\u308b\u306b\u306f\u3001iftop\u3042\u308b\u3044\u306fnethogs\u3092\u8a66\u305d\u3046\u3002<\/p>\n<p>\u25a0ab(Apache\u306b\u4ed8\u5c5e)\u306f\u3001Web\u30b5\u30fc\u30d0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u3056\u3063\u304f\u308a\u30c1\u30a7\u30c3\u30af\u3059\u308b\u306e\u306b\u4fbf\u5229\u3002\u3088\u308a\u8907\u96d1\u306a\u30c6\u30b9\u30c8\u306b\u306fsiege\u3092\u8a66\u305d\u3046\u3002<\/p>\n<p>\u7b49\u3005\u3001\u77e5\u3089\u306a\u304b\u3063\u305f\u3051\u3069\u4fbf\u5229\u305d\u3046\u3060\u306a\u3001\u8a66\u3057\u3066\u307f\u3088\u3046\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u57fa\u672c\u3001\u65e5\u5e38\u7684\u306b\u4f7f\u3046\u3082\u306e\u3001\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30fc\u30bf\u51e6\u7406\u30fb\u30fb\u30fb\u3068Linux\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u7fd2\u5f97\u3059\u308b\u306e\u306b\u5f79\u7acb\u3064\u60c5\u5831\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u7ae0\u3068\u4e00\u90e8\u30ce\u30a6\u30cf\u30a6\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3><strong>\u3010\u65e5\u5e38\u7684\u306b\u4f7f\u3046\u3082\u306e\u3011<\/strong><\/h3>\n<p>\u25a0Bash\u3067\u306f\u3001\u5f15\u6570\u3092\u88dc\u5b8c\u3001\u307e\u305f\u306f\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u3092\u5217\u6319\u3059\u308b\u306e\u306b\u30bf\u30d6\u3092\u4f7f\u3044\u3001\u30b3\u30de\u30f3\u30c9\u5c65\u6b74\u304b\u3089\u691c\u7d22\u3059\u308b\u306e\u306bctrl-r\u3092\u4f7f\u3046\u3002(\u691c\u7d22\u30ad\u30fc\u3092\u5165\u529b\u3057\u305f\u5f8c\u3001ctrl-r\u3092\u7e70\u308a\u8fd4\u3057\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u6b21\u304b\u3089\u6b21\u3078\u3068\u691c\u7d22\u7d50\u679c\u3092\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>Enter\u3067\u898b\u3064\u304b\u3063\u305f\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3068\u306a\u308a\u3001Enter\u3067\u306f\u306a\u304f\u53f3\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u3092\u62bc\u3057\u305f\u5834\u5408\u306f\u898b\u3064\u304b\u3063\u305f\u30b3\u30de\u30f3\u30c9\u304c\u5165\u529b\u3055\u308c\u305f\u72b6\u614b\u306b\u306a\u308b\u3002)<\/p>\n<h3><strong>\u3010\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3011<\/strong><\/h3>\n<p>\u25a0\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u63a2\u3057\u305f\u3044\u306a\u3089\u3001find . -iname &#8216;*something*&#8217;\u3002<\/p>\n<p>\u5834\u6240\u3092\u6307\u5b9a\u305b\u305a\u306b\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u691c\u7d22\u3057\u305f\u3044\u306a\u3089\u3001locate something\u4f7f\u304a\u3046(\u305f\u3060\u3057updatedb\u306f\u6700\u8fd1\u4f5c\u3089\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u3066\u3044\u306a\u3044\u3067\u3042\u308d\u3046\u3053\u3068\u306b\u6ce8\u610f)\u3002<\/p>\n<p>\u3010\u30b7\u30b9\u30c6\u30e0\u306e\u30c7\u30d0\u30c3\u30b0\u3011<\/p>\n<p>\u25a0Web\u306e\u30c7\u30d0\u30c3\u30b0\u306a\u3089curl\u3084curl -l\u304c\u4fbf\u5229\u3067\u3001wget\u3082\u540c\u69d8\u3001\u3088\u308a\u30e2\u30c0\u30f3\u306a\u306e\u306fhttpie\u3002<\/p>\n<h3><strong>\u3010\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3011<\/strong><\/h3>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u307e\u3068\u3081\u3066\u4f7f\u3046\u4f8b\u3092\u3044\u304f\u3064\u304b\u3002<\/p>\n<p>\u25a0sort\u3084uniq\u3092\u4f7f\u3063\u3066\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5171\u901a\u90e8\u5206\u3001\u7d50\u5408\u3001\u5dee\u7570\u3092\u6c42\u3081\u308b\u6642\u306b\u7279\u306b\u4fbf\u5229\u306a\u306e\u304c\u4ee5\u4e0b\u306e\u3084\u308a\u65b9\u3002<\/p>\n<p>a\u3068b\u306f\u305d\u308c\u305e\u308c\u5185\u5bb9\u306b\u91cd\u8907\u306e\u306a\u3044\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3068\u3059\u308b\u3002\u3053\u306e\u65b9\u6cd5\u306f\u9ad8\u901f\u3067\u3001\u6570GB\u7a0b\u5ea6\u307e\u3067\u306e\u4efb\u610f\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3067\u52d5\u4f5c\u3059\u308b(\/tmp\u304c\u5c0f\u3055\u306a\u30eb\u30fc\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u3042\u308b\u5834\u5408\u306f-T\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001\u30bd\u30fc\u30c8\u306f\u30e1\u30e2\u30ea\u5185\u3067\u884c\u308f\u308c\u308b\u3068\u306f\u9650\u3089\u306a\u3044)\u3002\u4e0a\u8ff0\u306eLC_ALL\u3068sort\u306e-u\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u53c2\u7167\u306e\u3053\u3068\u3002<\/p>\n<p style=\"padding-left: 30px;\">cat a b | sort | uniq &gt; c # c\u306fa\u3068b\u306e\u548c\u96c6\u5408<br \/>\ncat a b | sort | uniq -d &gt; c # c\u306fa\u3068b\u306e\u5171\u901a\u90e8\u5206<br \/>\ncat a b b | sort | uniq -u &gt; c # c\u306fa\u3068b\u306e\u5dee\u7570<\/p>\n<h3><strong>\u3010\u76ee\u7acb\u305f\u306a\u3044\u304c\u4fbf\u5229\u306a\u3082\u306e\u3011<\/strong><\/h3>\n<p>\u25a0expr: \u7b97\u8853\u6f14\u7b97\u3001\u8ad6\u7406\u6f14\u7b97\u3001\u307e\u305f\u306f\u6b63\u898f\u8868\u73fe\u306e\u8a55\u4fa1\u3092\u5b9f\u884c<\/p>\n<p>\u25a0m4: \u30b7\u30f3\u30d7\u30eb\u306a\u30de\u30af\u30ed\u30d7\u30ed\u30bb\u30c3\u30b5<\/p>\n<h3><strong>\u3010OS X\u7528\u306e\u3082\u306e\u3011<\/strong><\/h3>\n<p>\u3053\u308c\u3089\u306fMacOS\u7528\u306e\u9805\u76ee\u3067\u3059\u3002<\/p>\n<p>\u25a0\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306fbrew (Homebrew)\u3084port (MacPorts)\u3092\u4f7f\u3046\u3002\u4e0a\u8a18\u306e\u591a\u304f\u306e\u30b3\u30de\u30f3\u30c9\u3092MacOS\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3002<\/p>\n<p>\u7b49\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001Linux\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u899a\u3048\u308b\u969b\u306e\u30ce\u30a6\u30cf\u30a6\u96c6\u4ee5\u5916\u306e\u307e\u3068\u3081\u30ea\u30f3\u30af\u96c6\u3092\u3002<\/p>\n<p>\u25a0<a href=\"https:\/\/github.com\/alebcay\/awesome-shell\" target=\"_blank\">awesome-shell<\/a>: \u30b7\u30a7\u30eb\u306e\u30c4\u30fc\u30eb\u3084\u30ea\u30bd\u30fc\u30b9\u306e\u307e\u3068\u3081<\/p>\n<p>\u25a0<a href=\"https:\/\/github.com\/herrbischoff\/awesome-osx-command-line\" target=\"_blank\">awesome-osx-command-line<\/a>: \u3088\u308a\u8a73\u3057\u3044Mac OS\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30ac\u30a4\u30c9<\/p>\n<p>\u25a0<a href=\"http:\/\/redsymbol.net\/articles\/unofficial-bash-strict-mode\/\" target=\"_blank\">Strict mode<\/a>: \u3088\u308a\u3088\u3044\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304f\u305f\u3081\u306b<\/p>\n<p>\u25a0<a href=\"https:\/\/github.com\/koalaman\/shellcheck\" target=\"_blank\">shellcheck<\/a>: \u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(\u672c\u6765\u3001bash\/sh\/zsh\u7528)\u306e\u9759\u7684\u89e3\u6790\u30c4\u30fc\u30eb<\/p>\n<p>\u25a0<a href=\"http:\/\/www.dwheeler.com\/essays\/filenames-in-shell.html\" target=\"_blank\">Filenames and Pathnames in Shell<\/a>: \u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6b63\u3057\u304f\u6271\u3046\u305f\u3081\u306b<\/p>\n<p>\u524d\u56de\u7d39\u4ecb\u3057\u305f\u306e\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u7121\u6599\u3067\u5b66\u7fd2\u3067\u304d\u308b\u30b7\u30b9\u30c6\u30e0\u304c\u63d0\u4f9b\u3055\u308c\u3055\u3089\u306b\u305d\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u5316\u3055\u308c\u305f\u3082\u306e\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u899a\u3048\u308b\u305f\u3081\u306e\u30ce\u30a6\u30cf\u30a6\u304c\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u5316\u3055\u308c\u305f\u307e\u3068\u3081\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u3001\u7121\u6599\u3067\u4f7f\u3048\u308b\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u3068\u3044\u3046\u3060\u3051\u3067\u306a\u304f\u3001\u4e00\u5ea6\u516c\u958b\u3055\u308c\u305f\u3082\u306e\u304c\u69d8\u3005\u306a\u6587\u5316\u306e\u56fd\u306e\u53c2\u52a0\u8005\u306b\u3088\u3063\u3066\u3001\u6d17\u7df4\u3055\u308c\u7d9a\u3051\u3066\u3044\u304f\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n<p>\u4eca\u56de\u306e\u307e\u3068\u3081\u96c6\u3067\u3001\u305d\u3046\u3044\u3063\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u77e5\u3063\u3066\u3044\u308b\u4eba\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3092\u6709\u52b9\u6d3b\u7528\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u304c\u304a\u5206\u304b\u308a\u9802\u3051\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u81ea\u5206\u306e\u77e5\u8b58\u306e\u504f\u308a\u3092\u77e5\u308a\u3001\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u3088\u3046\u306a\u30ce\u30a6\u30cf\u30a6\u96c6\u306a\u3069\u3067\u88dc\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>IT\u306e\u6280\u8853\u8005\u3092\u76ee\u6307\u3057\u3066\u3044\u304f\u65b9\u3005\u306f\u3001\u30a2\u30f3\u30c6\u30ca\u3092\u5e83\u3052\u308b\u305f\u3081\u306b\u5229\u7528\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\uff1f\u79c1\u3082\u52c9\u5f37\u3057\u306a\u304a\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u307f\u306a\u3055\u3093\u3053\u3093\u306b\u3061\u306f\u3002 \u82b1\u7c89\u75c7\u306b\u60a9\u307e\u3055\u308c\u308b\u5b63\u7bc0\u30013\u6708\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u51fa\u4f1a\u3044\u3068\u5225\u308c\u306e\u6642\u671f\u3068\u3082\u3044\u3044\u307e\u3059\u306d\u3002 4\u6708\u306b\u306a\u308b\u3068\u3001\u65b0\u5165\u793e\u54e1\u304c\u5165\u3063\u3066\u304f\u308b\u4f1a\u793e\u3082\u591a\u3044\u3053\u3068\u3067\u3057\u3087\u3046\u3002 \u65b0\u5165\u793e\u54e1\u3060\u3051\u3067\u306a\u304f\u3001\u7d4c\u9a13\u8005\u63a1\u7528\u3067\u8ee2\u8077\u3055\u308c\u305f\u3082\u542b\u3081\u3001\u65b0\u305f\u306a\u30d5\u30a3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[17],"tags":[],"class_list":["post-1605","post","type-post","status-publish","format-standard","hentry","category-geek"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/posts\/1605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/comments?post=1605"}],"version-history":[{"count":4,"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/posts\/1605\/revisions"}],"predecessor-version":[{"id":1610,"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/posts\/1605\/revisions\/1610"}],"wp:attachment":[{"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/media?parent=1605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/categories?post=1605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ilii.jp\/ili-zine\/wp-json\/wp\/v2\/tags?post=1605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}