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

If..else..fi - Linux Shell Scripting Tutorial - A Beginner's handbook

Number Testing Script Create a shell script called testnum.sh: #!/bin/bash read-p "Enter number : "n if test $n-ge 0 then echo " $n is positive number." else echo " $n number is negative number." fi Save and close the file. Run it as follows: chmod +x tes

bash.cyberciti.biz

網址安全性掃描由 google 提供