?? ex32.sh
字號:
#!/bin/bashPS3='Choose your favorite vegetable: 'echochoice_of(){select vegetable# [in list] omitted, so 'select' uses arguments passed to function.do echo echo "Your favorite veggie is $vegetable." echo "Yuck!" echo breakdone}choice_of beans rice carrots radishes tomatoes spinach# $1 $2 $3 $4 $5 $6# passed to choice_of() functionexit 0
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -