findroot.ksh

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

KSH
12
字号
#!/bin/ksh# Script name: findroot.kshif grep root /etc/passwd > /dev/null then	echo "Found root!"else	echo "root not in the passwd!"	echo "Do not logout until the passwd file is repaired!"fi

⌨️ 快捷键说明

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