2006-10-10 シェルスクリプトで文字列マッチで制御 bash if ls | grep test > /dev/null;then echo 'testって文字列が入ったファイルがありました。' fi