shell簡單學習Day1

1.shell腳本的種類和注意事項html 種類:cat /etc/shells bin/bash=======>Linux 缺省使用 bin/sh bin/csh bin/kshweb 注意事項:和C不一樣成功返回0失敗返回1 好的語法習慣:當去取變量的數值的時候通常加上"VAR"shell 2.執行腳本方法bash 1.chmod a+x shell.sh ./shell.sh 2./bin/
相關文章
相關標籤/搜索