I am trying to make a Bash Script that has 4 choices and prompts the user to select an option. Each option corresponds to a Linux Command operation. Can someone give me a bash example on how could this be implemented?
Thanks.
I am trying to make a Bash Script that has 4 choices and prompts the user to select an option. Each option corresponds to a Linux Command operation. Can someone give me a bash example on how could this be implemented? Thanks. |
|||
Simple user selection example:
|
|||
|
help read
– heemayl Mar 25 at 12:53help select
as well – steeldriver Mar 25 at 12:55man dialog
– Warren Young Mar 25 at 13:16