寫支test.sh
#!/bin/bash
echo “start”
echo “test”
echo “test”
echo “test”
echo “test”
echo “end”
輸出如下
[root@AO753 ~]# ./test.sh
start
test
test
test
test
end
更改script內容如下
#!/bin/bash
echo “start”
: ‘
echo “test”
echo “test”
echo “test”
echo “test” ‘
echo “end”
輸出如下
[root@AO753 ~]# ./test.sh
start
end