<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
    <anon>Shell</anon>
  </categories>
  <description>覚えていられないシェル変数について書いておこう・ 特殊変数 特殊変数一覧 変数 説明 $0〜$9 $0はコマンド名、以降$1,$2・・は第1,2引数に対応。 $* 引数全体。ダブルクオートで括ると、引数全体をダブルクオートで囲んだ状態となる。 $@ 引数全体。ダブルクオートで括ると、引数をそれぞれダブルクオートで囲んだ状態となる。 $# コマンドに渡された引数の数。$0に該当するコマンド自身は数に含まれない。 $? 直前に実行されたコマンドの終了ステータスがセットされる。 $$ 現在実行中のシェルのプロセスIDがセットされる。 $! バックグラウンドジョブのプロセスIDがセットされる。 $- …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20091110%2F1257867986&quot; title=&quot;シェル変数のまとめ - A Memorandum&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>2009-11-10 00:46:26</published>
  <title>シェル変数のまとめ</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/20091110/1257867986</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
