linux之shell編程

          shell腳本的執行方式: 1、sh helloworld.sh 2、source helloworld.sh或 . helloworld.sh 3、使用腳本文件的絕對路徑直接執行該腳本文件:/root/test/helloworld.sh(需要可執行權限) 最簡單的shell編程: 第一步:打開文本編輯器 vim helloworld.sh 第二步:編寫shell腳本 #!/
相關文章
相關標籤/搜索