Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 06-27-2009, 01:21 AM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 107,546

Rep: Reputation: 117Reputation: 117
LXer: Asking a Yes/No Question from a Bash Script

Published at LXer:

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Script Question nade Programming 2 05-22-2009 10:36 PM
Bash Script Question Jack128 Programming 7 04-05-2009 05:29 AM
Bash script question.... mkhan919 Linux - Newbie 3 04-06-2007 07:13 AM
Bash script question deiussum Programming 6 08-14-2004 12:43 PM
A bash script question J_Szucs Programming 2 05-13-2003 03:13 AM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration