[[email protected] ~]$ vi os.sh #!/bin/bash echo "What is your favourite OS?" select var in "Linux" "Gnu Hurd" "Free BSD" "Other"; do break; done echo "You have selected $var" ~
时间: 2024-11-01 16:27:36
[[email protected] ~]$ vi os.sh #!/bin/bash echo "What is your favourite OS?" select var in "Linux" "Gnu Hurd" "Free BSD" "Other"; do break; done echo "You have selected $var" ~