📄 elif2
字号:
#!/bin/shecho "Is it morning? Please answer yes or no"read timeofdayif [ "$timeofday" = "yes" ]then echo "Good morning"elif [ "$timeofday" = "no" ]; then echo "Good afternoon"else echo "Sorry, $timeofday not recognized. Enter yes or no" exit 1fiexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -