icon mdi-theme-light-dark

Menu · 1 article

Menu

>_shell-tips
  • Bash
  • Linux
  • Mac
  • Windows
  • Cheat-Sheets

How To Create Simple Menu with the Shell Select Loop?

The select loop is not a regular shell loop. It can be used in Bash to generate a simple menu from which a user can select numbered options.

What is a select loop in a shell script?How can I create a select menu in bash?How to pipe options to a select loop in bash?
select filename·updated Sep 2020·5 examples

© 2026 Nicolas Brousse

Follow
  • Mastodonicon mdi-mastodon
  • Pinteresticon mdi-pinterest

Disclaimers & Contacts