📄 userdel-pre.local
字号:
#!/bin/bash## Here you can add your own stuff, that should be done for every user# who will be deleted.## When you delete a user with userdel, this script will be called# with the login name, UID, GID and the HOME directory as parameter.## Check for the required argument.if [ $# != 4 ]; then echo Usage: $0 username uid gid home exit 1fi# Remove cron jobscrontab -r -u $1# All done.exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -