after_course.sh

来自「机房管理系统」· Shell 代码 · 共 30 行

SH
30
字号
#!/bin/sh -. $HOME/cms/include/cms.hafter_course(){while :do  #娓呴櫎灞忓箷  erase_fun 4 20  #闅愯棌鍏夋爣  hide_cursor  xy 7 23 "***Collation after Course***"  xy 8 24 "1.Close the authority of user"  xy 9 24 "2.Delete the directory"  xy 10 24 "q.Return"  xy 12 24 "Please choice[1|2|q|Q]:"  #鏄剧ず鍏夋爣  display_cursor  read _CHOICE_7  case $_CHOICE_7 in    1)chmod 000 /home/$_USER_ID      xy 15 10 "Revoked the authority of the user_directory from $_USER_ID...";;    2)rm -rf /home/$_USER_ID      xy 15 10 "Delete user_directroy success...";;    q|Q)       return 0;;    *)hint_msg "Wrong choice [${_CHOICE_7}],Please choice [1|2|q|Q]..."  esacdone}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?