{"id":45383,"date":"2016-12-08T22:52:47","date_gmt":"2016-12-08T13:52:47","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=45383"},"modified":"2016-12-08T22:52:47","modified_gmt":"2016-12-08T13:52:47","slug":"bash-scripting-tutorial","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/bash-scripting-tutorial\/","title":{"rendered":"Bash scripting tutorial - \u3057\u3063\u304b\u308a\u3057\u305f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/12\/command-1.jpg\" alt=\"Command\" title=\"command.jpg\" border=\"0\" width=\"640\" height=\"554\" \/><\/p>\n<p>Linux\u3084macOS\u30e6\u30fc\u30b6\u30fc\u306a\u3089\u8ab0\u3082\u304c\u304a\u4e16\u8a71\u306b\u306a\u308b\u6a19\u6e96\u7684\u306a\u30b7\u30a7\u30eb\u300cBash\u300d\u3002\u6700\u8fd1\u3067\u306fBash for Windows\u3068\u3057\u3066Windows 10\u74b0\u5883\u3067\u3082Bash\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u3001\u307e\u3059\u307e\u3059\u6d3b\u7528\u7bc4\u56f2\u304c\u5e83\u304c\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Bash\u306e\u5927\u304d\u306a\u5f79\u5272\u306e\u4e00\u3064\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u5165\u529b\u3092\u8aad\u307f\u53d6\u308b\u3053\u3068\u3067\u3059\u304c\u3001\u901a\u5e38\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306e\u3088\u3046\u306b\u3055\u307e\u3056\u307e\u306a\u51e6\u7406\u3092\u81ea\u52d5\u5316\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/bluepenguinlist.com\/2016\/11\/04\/bash-scripting-tutorial\/\">Bash scripting tutorial<\/a>\u300d\u306f\u3001\u305d\u306eBash\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f5c\u6210\u65b9\u6cd5\u3092\u4e00\u304b\u3089\u89e3\u8aac\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3002\u3057\u3063\u304b\u308a\u3068\u30d0\u30b0\u306e\u5c11\u306a\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u6307\u91dd\u3068\u306a\u308b\u30ac\u30a4\u30c9\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/12\/s_20161117_115710.jpg\" alt=\"S 20161117 115710\" title=\"s_20161117_115710.jpg\" border=\"0\" width=\"719\" height=\"301\" \/><\/p>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306f\u3001\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5192\u982d\u306b\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e\u8b0e\u306e\u6697\u53f7(?)\u300cShebang\u300d\u306e\u8aac\u660e\u304b\u3089\u59cb\u307e\u308a\u3001\u5b9a\u6570\u3001\u5909\u6570\u7b49\u306e\u8aac\u660e\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n<p>\u5916\u90e8\u30b3\u30de\u30f3\u30c9\u306e\u8aad\u307f\u51fa\u3057\u65b9\u3084exit\u30b3\u30fc\u30c9\u306e\u6271\u3044\u65b9\u3001\u95a2\u6570\u306e\u8a18\u8ff0\u6cd5\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u540d\u524d\u306e\u4ed8\u3051\u65b9\u307e\u3067\u5b9f\u7528\u7684\u306a\u30c6\u30af\u30cb\u30c3\u30af\u304c\u5b8c\u7d50\u306b\u307e\u3068\u307e\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u7c21\u6613\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u3057\u3066\u3001\u826f\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\u304c\u8b70\u8ad6\u3055\u308c\u308b\u3053\u3068\u304c\u5c11\u306a\u3044\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u304c\u3001\u30d0\u30b0\u304c\u5b58\u5728\u3059\u308b\u3068\u751a\u5927\u306a\u88ab\u5bb3\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u3082\u591a\u3005\u3042\u308a\u307e\u3059\u3002\u30d0\u30b0\u304c\u5c11\u306a\u3044\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304d\u305f\u3044\u65b9\u306b\u306f\u53c2\u8003\u306b\u306a\u308b\u30b5\u30a4\u30c8\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3084macOS\u30e6\u30fc\u30b6\u30fc\u306a\u3089\u8ab0\u3082\u304c\u304a\u4e16\u8a71\u306b\u306a\u308b\u6a19\u6e96\u7684\u306a\u30b7\u30a7\u30eb\u300cBash\u300d\u3002\u6700\u8fd1\u3067\u306fBash for Windows\u3068\u3057\u3066Windows 10\u74b0\u5883\u3067\u3082Bash\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u3001\u307e\u3059\u307e\u3059\u6d3b\u7528\u7bc4\u56f2\u304c\u5e83\u304c\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":45384,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[66],"tags":[1360],"class_list":["post-45383","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webservice","tag-bash"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/45383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=45383"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/45383\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/45384"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=45383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=45383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=45383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}