adduser.ksh

来自「Solaris环境下Shell编程编程」· KSH 代码 · 共 17 行

KSH
17
字号
#!/bin/ksh# Purpose: To write a script to add user to the system.# Name: adduser_ksh### 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 + -
显示快捷键?