<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zenpou</author_name>
  <author_url>https://blog.hatena.ne.jp/zenpou/</author_url>
  <blog_title>zenpouの日記</blog_title>
  <blog_url>https://zenpou.hatenadiary.org/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>さっきのvimと同様、自分用のシェルメモ シェルのif文で使う、if [ -e filename ]; thenとかの []はtestコマンド。 条件文に使える奴は以下の通り。 ファイル形式のテスト 式 意味 -b file file が存在し、ブロックスペシャルファイルであれば真。 -c file file が存在し、キャラクタスペシャルファイルであれば真。 -d file file が存在し、ディレクトリであれば真。 -f file file が存在し、通常ファイル (regular file) であれば真。 -h file または -L file file が存在し、シンボリックリンクで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzenpou.hatenadiary.org%2Fentry%2F20080621%2F1214068526&quot; title=&quot;シェルのif文の条件式 - zenpouの日記&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>2008-06-21 02:15:26</published>
  <title>シェルのif文の条件式</title>
  <type>rich</type>
  <url>https://zenpou.hatenadiary.org/entry/20080621/1214068526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
