Home > bash > Whiptail

Whiptail

Problem:
I have to automate a backup process, but I need to have a GUI front-end since the users are very intimidated by the bash prompt.

Solution:
Since the script will most likely go on a server without X I decided on Whiptail. Whiptail is a dialog (software) replacement using Newt instead of ncurses.

Tips on whiptail usage:
1. http://stackoverflow.com/questions/1562666/bash-scripts-whiptail-file-select
2. http://en.wikibooks.org/wiki/Bash_Shell_Scripting/Whiptail
3. http://www.techrepublic.com/blog/opensource/how-to-use-whiptail-to-write-interactive-shell-scripts/3188
4. http://www.dawoodfall.net/scripts/bash/wget-dialog-example

Advertisements
Categories: bash Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: