Shell练习-2(控制语句,if else,for,while)
#!/bin/shecho "hello"filePath=`pwd`echo "path:${filePath}"a=10b=20echo '---------------------------------'echo "if else练习"if [ $a -lt $b ]then echo "a小于b"else echo "没有符合的条件"fi