Find the answer to your Linux question:
Results 1 to 2 of 2
How to create an automated bash script to the following specification: Display menu until user quits the script. The menu should display the following options:- a. create backup b. restore ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    1

    Unhappy Bash Menu Script To Create and Restore Backup

    How to create an automated bash script to the following specification:

    Display menu until user quits the script. The menu should display the following options:-
    a. create backup
    b. restore backup
    c. quit

    For option a or b user would required to specify name of the files and name of the archive.

    The script should also have an option to run with use of parameters, if that is the case it will not display menu but carry out required task unless it was not possible to do so.

    In case of any errors are encountered it would call external script that would display custom designed error screen.

    The script must include a use of parameter passing, conditional statement and at least one loop.

    PLEASE HELP GUYS...!!!!

  2. #2
    Linux Newbie
    Join Date
    Apr 2007
    Posts
    119
    Check out this site. It has all the info you need.


    link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...