Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash select

#!/bin/bash

select ogy in "Psychology" "Psychiatry" "Criminology" "Astrology"
do
    echo "Your selected major is $ogy"
    break
done
Source by hakin9.org #
 
PREVIOUS NEXT
Tagged: #bash #select
ADD COMMENT
Topic
Name
8+6 =