dialog-menu_shell脚本

发布时间:2020-06-29 12:16:59 作者:byzmkb
来源:网络 阅读:312

#!/bin/bash
#
while true
do
    dialog --title "modify" --nocancel --menu "choose one" 20 40 8 1 "create user" 2 "create didrectory" 3 "create file" 4 "modify directory and fiel" 5 "modify file perm" 6 "del directory or file" 7 "exit"  2>menu
    num=`cat menu`
    case $num in
        1)
        ;;
        2)
        ;;
        3)
        ;;
        4)
        ;;
        5)
        ;;
        6)
        ;;
        7)
        exit 10
        echo
        ;;
        *)
        exit 255
    esac
done


推荐阅读:
  1. mongodb监控脚本
  2. mongodb shell 脚本

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

shell he og

上一篇:如何快速系统入门Python 怎么规划就业方向

下一篇:京峰网站架构,上线流程

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》