Write a shell script to create view and modify a simple data

Write a shell script to create, view and modify a simple database that contains automobile records.

Solution

The first parameter is always the database being queried. The second parameter is always the command that will be executed. Any parameters that follow are specific to the command that was issued.

The general syntax of script invocation is: z123456.db dbname command param1 ... paramN

where: dbname is the name of the file that contains the database records command is one of: new, add, show

or delete param1 ... paramN are parameters to the specified command

Write a shell script to create, view and modify a simple database that contains automobile records.SolutionThe first parameter is always the database being quer

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site