How to create a selection menu using the select statement in Bash shell - Linux Tutorials - Learn Linux Configuration

We all very often use bash scripts to automatize boring and repetitive tasks. Sometimes in our scripts we need to ask the user to perform one or more choices interactively: in this tutorial we will see how to use the Bash shell select statement to perform such operation in very few lines of code.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-create-a-selection-menu-using-the-select-statement-in-bash-shell