ex-10-01_if.sh

来自「Berkely的学生写的」· Shell 代码 · 共 11 行

SH
11
字号
#!/bin/sh -v# Chapter 10 - Section The if Statement# This script demonstrates the use of the # if - then - else - fi construct.if uuencode koala.gif koala.gif > koala.uu ; then   echo "Encoded koala.gif to koala.uu"else   echo "Error encoding koala.gif"fi

⌨️ 快捷键说明

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