判断不同时间段打印不同问候脚本 通过select实现菜单脚本 select i in w ls pwd do case $i in ... esac done 检查用户是否登录 检查系统是否入侵 三行并一行