首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

Linux Shell兑现人机交互

2013-03-21 
Linux Shell实现人机交互while truedostty -icanon min 0 time 100echo -n Automatic execute ten secon

Linux Shell实现人机交互
while true;dostty -icanon min 0 time 100echo -n "Automatic execute ten seconds after,Are you sure you want to start the task(yes or no)?"read Argcase $Arg inY|y|YES|yes) break;;N|n|NO|no) exit;;"") #Autocontinue break;;esacdone echoecho "others function..."

?

热点排行