Hello all,

This is my assignment on shell scripting, can anyone help
me regarding this ?

Create a shell script which connects to the database

In second shell script include the first script for the DB
connection

Create a table (PRADEEP_DATA) with 2 columns (name, value)

In Third shell script include the first script for the DB
connection

And insert/delete the values from the Table, by accepting
input from the user

This functionality should be a menu driven Program:


1) Insert to the database
a. Name
b. value

2)Delete from the database
a.Name
b.value

Exception handling needs to be taken care.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

0 Answers  


How do I run a shell script in powershell?

0 Answers  


What is shell and terminal?

0 Answers  


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

0 Answers  


wats the deinitions for shell utility and filter?

0 Answers  


What is the syntax of "expr" command?

2 Answers  


How to find duplicate record in file using shell script?

0 Answers   IBM, Saama Tech, Wipro,


How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }

0 Answers   Wipro,


What is a shell in operating system?

0 Answers  


Why should we use shell scripts?

0 Answers  


how can you execute the shell scripts?

4 Answers  


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

0 Answers  


Categories