#!/bin/bash

echo -e "1) A"
echo -e "2) B"
echo -e "3) C"
echo -e "4) D"
echo -e "5) E"
echo -e "6) F"
echo -e "7) G"
echo -e "8) H"
echo -e "9) I"
echo -e "-- Press any other key to quit--"

echo -e "Enter the number you want to access?\n"
read -n1 answer
case $answer in
1)
command 1;;
2)
command 2;;
3)
......
*)
esac
exit 0

相关文章:

  • 2022-12-23
  • 2022-01-24
  • 2021-09-25
  • 2021-11-07
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2021-07-21
  • 2021-07-16
  • 2022-12-23
相关资源
相似解决方案