[bash] カレントディレクトリが存在しなくてもcd ./は成功する - Qiita
環境 mkdir test; cd test; $ rmdir ../test...