How to prompt user confirmation using Bash

I found a nice tips to create a prompt for user confirmation using Bash. Its pretty simple and neat. Here is the example to create a user confirmation (y/n) on Bash: [codesyntax lang=”bash” lines=”normal” lines_start=”0″]

[/codesyntax] When user press… Continue Reading

Bash Programming – if Else fi

After learning how to read user input on Bash programming, now its time to learn a simple If and else fi. Example [codesyntax lang=”bash” lines=”normal” lines_start=”0″ container=”pre”]

[/codesyntax] The example above will ask for your name. If you type… Continue Reading