Linux Shell腳本學習筆記

1、第一個Shell腳本(hello-01.sh) #!/bin/bash echo "Hello World!" echo "Hello Shell!" shell腳本執行html chmod 755 hello-01.sh sh hello-01.sh ./hello-01.sh 2、第二個Shell腳本 下面的腳本使用 read 命令從 stdin 獲取輸入並賦值給 name變量,最後在
相關文章
相關標籤/搜索