#!/bin/bash echo "where are you from?" select var in "Beijing" "jiujiang" "New york" "chongqing" "nanchan" "shanghai" do break done echo "You are from $var"