io1.sh

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

SH
17
字号
#!/bin/sh# Script name: io1.sh# This script prompts for input and prints messages# involving the input received.echo "Enter your name: \c"read name junkecho "Hi $name, how old are you? \c"read age junkecho "\n\t$age is an awkward age, $name,"echo "   You're too old to depend on your parents,"echo "and not old enough to depend on your children."

⌨️ 快捷键说明

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