<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>flying-foozy</author_name>
  <author_url>https://blog.hatena.ne.jp/flying-foozy/</author_url>
  <blog_title>彷徨えるフジワラ</blog_title>
  <blog_url>https://flying-foozy.hatenablog.com/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>ssh</anon>
  </categories>
  <description>ログインシェルが bash に設定されている環境で、SSH 経由でログインなしのコマンド実行 (＝ 非対話的実行) を行うために、ユーザ独自の設定 (環境変数の変更／追加等) を設定ファイルに記述する際の注意点を、最初にまとめておきます。 SSH 経由でのコマンド実行に必要な追加設定は ~/.bashrc に記述する ~/.bashrc への記述追加の際には: [ -z &quot;$PS1&quot; ] &amp;&amp; return のような、「非対話的実行時には、以降の設定評価を中断」する記述の有無を確認し 記述がある場合は、それよりも前の行で追加設定を記述する 「非対話的実行」の判定は、上記以外の方法でも可能です。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflying-foozy.hatenablog.com%2Fentry%2F20140130%2F1391096196&quot; title=&quot; bash の設定ファイル読み込み仕様 - 彷徨えるフジワラ&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>2014-01-30 00:36:36</published>
  <title> bash の設定ファイル読み込み仕様</title>
  <type>rich</type>
  <url>https://flying-foozy.hatenablog.com/entry/20140130/1391096196</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
