{"id":40024,"date":"2016-06-27T11:56:55","date_gmt":"2016-06-27T02:56:55","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=40024"},"modified":"2016-06-27T11:56:55","modified_gmt":"2016-06-27T02:56:55","slug":"awesome-os-x-command-line","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/awesome-os-x-command-line\/","title":{"rendered":"Awesome OS X Command Line - \u8981\u30d6\u30af\u30de\uff01\u77e5\u3063\u3066\u3044\u308b\u3068\u5f79\u306b\u7acb\u3061\u3059\u304e\u308bOS X\u5c02\u7528\u306e\u30b3\u30de\u30f3\u30c9\u96c6"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/06\/command-2.png\" alt=\"Command\" title=\"command.png\" border=\"0\" width=\"640\" height=\"554\" \/><\/p>\n<p>Mac\u7528\u306eOS\u3067\u3042\u308bOS X(macOS)\u306f\u3001\u4f7f\u3044\u3084\u3059\u3044GUI\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u306f\u306a\u304f\u3001UNIX\u4e92\u63db\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u304c\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u958b\u767a\u8005\u3084\u30d1\u30ef\u30fc\u30e6\u30fc\u30b6\u30fc\u306e\u7d76\u5927\u306a\u308b\u652f\u6301\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/herrbischoff\/awesome-osx-command-line\">Awesome OS X Command Line<\/a>\u300d\u306f\u3001OS X\u306e\u3053\u306e\u7279\u5fb4\u3092\u3055\u3089\u306b\u751f\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u30b7\u30a7\u30eb\u30b3\u30de\u30f3\u30c9\u3084\u30c4\u30fc\u30eb\u306e\u30ad\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30ea\u30b9\u30c8\u3067\u3059\u3002GitHub\u3067\u591a\u6570\u516c\u958b\u3055\u308c\u3066\u3044\u308bAwesome-XXX\u306e\u5f62\u5f0f\u3067\u60c5\u5831\u304c\u5b8c\u7d50\u306b\u307e\u3068\u3081\u3089\u308c\u305f\u30ea\u30b9\u30c8\u3067\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\/06\/s-2016-06-27-11.55.02.png\" alt=\"S 2016 06 27 11 55 02\" title=\"s 2016-06-27 11.55.02.png\" border=\"0\" width=\"666\" height=\"113\" \/><br \/>\n\u30ea\u30b9\u30c8\u3067\u306f\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u304c\u3001\u5916\u89b3\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3001\u958b\u767a\u3001\u30c7\u30a3\u30b9\u30af\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u3001Dock\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3001Finder\u3001\u6a5f\u80fd\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3001\u30e1\u30c7\u30a3\u30a2\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u3001\u5370\u5237\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u691c\u7d22\u3001\u30b7\u30b9\u30c6\u30e0\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3068\u3044\u3063\u305f\u5404\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u58c1\u7d19\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3084\u3001<\/p>\n<pre><code class=\"nohighlight\"># Up to Mountain Lion\nosascript -e 'tell application \"Finder\" to set desktop picture to POSIX file \"\/path\/to\/picture.jpg\"'\n\n# Since Mavericks\nsqlite3 ~\/Library\/Application\\ Support\/Dock\/desktoppicture.db \"update data set value = '\/path\/to\/picture.jpg'\" && killall Dock<\/code><\/pre>\n<p>Mac App Store\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30a2\u30d7\u30ea\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3001<\/p>\n<pre><code class=\"nohighlight\">find \/Applications -path '*Contents\/_MASReceipt\/receipt' -maxdepth 4 -print |\\sed 's#.app\/Contents\/_MASReceipt\/receipt#.app#g; s#\/Applications\/##'<\/code><\/pre>\n<p>Bluetooth\u3092\u6709\u52b9\u30fb\u7121\u52b9\u5316\u3059\u308b\u65b9\u6cd5<\/p>\n<pre><code class=\"nohighlight\"># Status\ndefaults read \/Library\/Preferences\/com.apple.Bluetooth ControllerPowerState\n\n# Enable (Default)\nsudo defaults write \/Library\/Preferences\/com.apple.Bluetooth ControllerPowerState -int 1\n\n# Disable\nsudo defaults write \/Library\/Preferences\/com.apple.Bluetooth ControllerPowerState -int 0 && \\\nsudo killall -HUP blued<\/code><\/pre>\n<p>\u306a\u3069\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u305e\u308c\u5358\u4f53\u3067\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3057\u3001\u81ea\u4f5c\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3069\u306b\u7d44\u307f\u8fbc\u3093\u3067\u4f7f\u3063\u3066\u3082\u5f79\u306b\u7acb\u3061\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u7528\u306eOS\u3067\u3042\u308bOS X(macOS)\u306f\u3001\u4f7f\u3044\u3084\u3059\u3044GUI\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u306f\u306a\u304f\u3001UNIX\u4e92\u63db\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u304c\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u958b\u767a\u8005\u3084\u30d1\u30ef\u30fc\u30e6\u30fc\u30b6\u30fc\u306e\u7d76\u5927\u306a\u308b\u652f\u6301\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002 \u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300cAwes [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":40025,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[66],"tags":[2536,3542],"class_list":["post-40024","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webservice","tag-awesome","tag-commandline"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/40024","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=40024"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/40024\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/40025"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=40024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=40024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=40024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}