Browsing All Posts published on »January, 2010«

Adding Confirmation to bash

January 13, 2010

5

The Problem Bash does not have a “confirm” command to solicit the user’s confirmation of an action. I realize that some commands, such as rm which can ask for the user’s confirmation via the -i flag, but many do not. In addition, when writing bash scripts, I often run into situations which requires the confirmation […]

Follow

Get every new post delivered to your Inbox.

Join 36 other followers