#!/bin/bash function menu { clear echo "***system manager tools***" echo -e "1.\tshow disk space useage info" echo -e "2.\tshow network interface info" echo -e "3.\tshow memory info" echo -e "0.\texit" echo -n -e "\tplease choose your option:" read -n1 option echo "" echo "your choose is $option" } menu 效果显示
菜单脚本
最新推荐文章于 2021-05-11 07:08:01 发布