シェルスクリプト実践テクニック〜bash編
http://www.ne.jp/asahi/yokohama/juk/bash-script.html
test12.sh -- #!/bin/bash if [ -f /etc/passwd ] && grep "^www:" /etc/passwd; then echo "www is existed" else echo "www is not existed" fi --
めも
シェルスクリプト実践テクニック〜bash編
http://www.ne.jp/asahi/yokohama/juk/bash-script.html
test12.sh -- #!/bin/bash if [ -f /etc/passwd ] && grep "^www:" /etc/passwd; then echo "www is existed" else echo "www is not existed" fi --
めも