Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Shell Programming Multifunctional Application (* Jobs , And Product<---- (don\'t

ID: 3579894 • Letter: S

Question

Shell Programming

Multifunctional Application (* Jobs, And Product<---- (don't need))

Objective:

In this Project, you use the skills and knowledge you have acquired to build a Multipurpose Shell Scripting Application.

Overview:

The application you build simulates one that you might use to track information(*) and other information about people,services or goods. The application enables you to input new information ,list,search for specific information,view,delete, and prevent duplication. You build the application entirely from Shell Scripts. Also, to make this undertaking manageable (and be consistent with programming practices),You build the application through creating small pieces that you prototype, test and later link together into one menu-based application.

Components: (Very Necessary)*

* Create Flowcharts to design and document processes and procedures(*Create screen shots)

* Use the Flowcharts to write the pseudo-code instructions (*Create screen shots)

* Set up a source directory under your home directory (*Screenshots)

* Create an input menu for your application (Title, Print, Add, Search information, and Quit) (* Take Screenshots)

* Create an information file (at-least 8-10 records) for testing purposes. (* Create Screen Shots)

* Take screenshots of all scripts used by the application. (* Take screen shots)

Database#1 (Jobs)

Database File: The Jobs Information script should keep track of the following Information:

Testing Steps ( At least 8-10 Records add to above Database)

Step 1- Add a Record

Step 2- Search for New added Record

Step 3- Print a formatted List of Records

Step 4- Delete the new added record

Step 5- Print Flat data file without format

* Please write the Shell Script code(Linux) out in details using gedit, vi or emacs so its readily available to copy and paste. Please also send the screenshots of the output and other screenshots as listed above, example: Input menu for your application (Title, Print, Add, Search information, and Quit). Also send screenshots of the source directory and the one-menu based application. Thank you so much!

Name Contact Number Email JobID Job Title Approximate Start Date Job type Salary/Pay Rate Job Details Jenny Martin 718-334-6756 jm(at)yahoo.com Acme1001 Lead Engineer 09-14-2014 Full Time 90000 Johnny Smith 212-456-7890 js(at)yahoo.com Acme1002 H/Director 12-07-2016 Full Time 120000

Explanation / Answer


clear
i="y"
echo "Enter name of database "
read db
while [ $i = "y" ]
do
clear
echo "1.View the Data Base "
echo "2.View Specific Records "
echo "3.Add Records "
echo "4.Delete Records "
echo "5.Exit "
echo "Enter your choice "
read ch
    case $ch in
        1)cat $db;;
        2)echo "Enter id "
          read id
            grep -i "$id" $db;;
        3)echo "Enter new std id "
          iread tid
          echo "Enter new name:"
          read tnm
          echo "Enter designation "
          read des
          echo "Enter college name"
          read college
          echo "$tid    $tnm    $des    $college">>$db;;
        4)echo "Enter Id"
          read id
        # set -a
    #    sed '/$id/d' $db>dbs1
        grep -v "$id" $db >dbs1    
          echo "Record is deleted"
         cat dbs1;;           
        5)exit;;
        *)echo "Invalid choice ";;
    esac
echo "Do u want to continue ?"
read i
if [ $i != "y" ]
then
    exit
fi
done        

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote