I have this script which reads the user input for executing some command, This is working fine. User=0Path=/root/file/Path1=/root/domain/samples/fileecho Please select k1  l3  l8  o5  s2  s1  v1echo Location Select the location eg: [k1 l3 l8 o5 s2 s1 v1]? read Userif [ $User = kw1 ]    then            echo unlink file            echo ln -s $Path/$User $Path1/fileelif [ $User = lb3 ]    then            echo unlink file            echo ln -s $Path/$User $Path1/fileelif [ $User = lo8 ]    then            echo unlink file            echo ln -s $Path/$User $Path1/file              cp -p /domain/samples /domain/samples-org            cp -p /root/l3 /domain/sampleselseecho Specified location does not existfiQuestion I was thinking of having a drop-down as shown below eg. what would be the possible approach?#./script    Eg: Please select from the below menu     1. Location k1      2. Location l3      3. Location l8      4. Location o5      5. Location s2      6. Location s1      7. Location v1Enter number: 4 Selected o5Configuring.....
Understanding bash script for getting drop down option
shell;shell script