adduser.sh
来自「Solaris环境下Shell编程编程」· Shell 代码 · 共 17 行
SH
17 行
#!/bin/sh# Purpose: To write a script to add user to the system.# Name: adduser### Set a shell variable to test the grep command.name=nuucp # Should match a single entry#name=uucp # Should match a single entry#name=root # Should match a single entry#name=rot # Should not match any entrygrep "^$name:" mypasswd# End of lab 4
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?