<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>acqua_alta</author_name>
  <author_url>https://blog.hatena.ne.jp/acqua_alta/</author_url>
  <blog_title>なつみかん＠はてな</blog_title>
  <blog_url>https://tangerine.hateblo.jp/</blog_url>
  <categories>
    <anon>Mac</anon>
  </categories>
  <description>#!/bin/sh （作業内容） テキストエディタでこのようなファイルを作成し、拡張子「.sh」で保存すればシェルスクリプトですが、拡張子を「.command」に変更するとダブルクリックで実行できるバッチファイルになります。 （Windowsの「.bat」相当）ただしこのままでは「Permission denied」エラーで実行できないので % chmod 755 sample.command として権限を変更すると実行可能ファイルになります。（sample.commandは任意のファイル名）あえてターミナルを起動してログを眺めたい場合におすすめですが、特に不要な場合は ターミナル＞設定＞プロ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftangerine.hateblo.jp%2Fentry%2F2022%2F06%2F18%2F140039&quot; title=&quot;Macでシェルスクリプトの拡張子を「.command」に変更するとダブルクリックで実行できる - なつみかん＠はてな&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-18 14:00:39</published>
  <title>Macでシェルスクリプトの拡張子を「.command」に変更するとダブルクリックで実行できる</title>
  <type>rich</type>
  <url>https://tangerine.hateblo.jp/entry/2022/06/18/140039</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
