Skip to content
Related Articles

Related Articles

select command in Linux with examples
  • Last Updated : 27 May, 2019
GeeksforGeeks - Summer Carnival Banner

select command in Linux is used to create a numbered menu from which a user can select an option. If the user enters a valid option then it executes the set of command written in select block and then ask again to enter a number, if a wrong option is entered it does nothing. If user enters nothing and simply press ‘enter‘ the option menu gets printed.


select NAME [in WORDS ... ;] do COMMANDS; done



  • help select : It displays help information.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :