Review your favorite Linux distribution.
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, 12:21 AM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 99,289

Rep: Reputation: 102Reputation: 102
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 09:36 PM
Bash Script Question Jack128 Programming 7 04-05-2009 04:29 AM
Bash script question.... mkhan919 Linux - Newbie 3 04-06-2007 06:13 AM
Bash script question deiussum Programming 6 08-14-2004 11:43 AM
A bash script question J_Szucs Programming 2 05-13-2003 02:13 AM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 04:39 PM.

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