經安全檢測,此網站為安全網站,請放心前往原始網址!

shell - check if file exists - Stack Overflow

#!/bin/ksh file_name=/home/file2.sh used_var=`grep "poet" $file_name` I want to check if file2.sh exists and also if used_var has some value or it has nothing.

stackoverflow.com

網址安全性掃描由 google 提供