example14.22
来自「Unix Shell编程权威指南的配套源代码,书是好书,不过习题没有答案,要自己」· 22 代码 · 共 14 行
22
14 行
if [ "$name" = "" ] # Alternative to [ ! "$name" ] # or [ -z "$name" ]then echo The name variable is nullfi# (From System showmount program, which displays all remotely mounted systems)remotes=$(/usr/sbin/showmount)if [ "X${remotes}" != "X" ] then /usr/sbin/wall ${remotes} # ...fi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?