Asking a Yes/No Question from a Bash Script

Posted by Scott_Ruecker on Jun 27, 2009 1:19 AM EDT
Linux Journal; By Mitch Frazier
Mail this story
Print this story

In order to avoid this common mistake I often have my shell scripts prompt me for a yes or no answer before they proceed. The function described here is for doing that: asking a question and validating the answer.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.