Linux——shell腳本實例進階篇

實驗一 利用case語句編寫腳本,知足下列要求 1.執行create時根據userfile和passfile創建用戶 2.執行delete時根據userfile刪除用戶 1.編寫腳本: [root@localhost mnt]# vim user_ctrl.sh #!/bin/bash read -p "Please input the operation (create or delete ):
相關文章
相關標籤/搜索