$ 0 0 dirnameコマンドとは? 「dirname」は、ディレクトリ名とファイル名を含むパス名(/mydir/myfileなど)から、ディレクトリ部分だけを取得するコマンドです。 パス名からディレクトリ…