Home How do I prompt for Yes/No/Cancel input in a Linux shell script?
Reply: 0

How do I prompt for Yes/No/Cancel input in a Linux shell script?

user4390
1#
user4390 Published in September 19, 2018, 7:28 pm

I want to pause input in a shell script, and prompt the user for choices. The standard 'Yes, No, or Cancel' type question. How do I accomplish this in a typical bash prompt?

share|improve this question

27 Answers 27

active oldest votes
up vote 335 down vote
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.466748 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO