[SOLVED] CS253 Assignment 1

30.00 $

Category: Tags: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon cs253_assign_1-z4coy7.zip (332.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Q1. Never Skip Pre-Production

You have been given a package q1-cs253.zip packaged using tar utility, that you want to deploy to a of your company. The package being small and you are running late for a stand-up meeting, you decide to override the usual queue and sshed to the production server directly to deploy the package.

This turned out to be a big mistake, since you don’t clearly remember the pre-processing script that is used before deploying a package. Can you use your reverse engineering skills to deploy the package?

Each contains a bunch of files and data files on which these executable files run. You need to figure out the files and run them to get the output to confirm deployment.

Your institute roll-number is your EMP ID for the task.
You know from a discussion somewhere on Gerrit that packages after deployment, print out the line below of the following format with SUCCESS

keyword. Follow the prompt messages to deploy successfully. [date] [time] [package-name] SUCCESS [@server-id] [package-id]

Eg.

Production Server

This server runs on Ubuntu 18.04 server image with date , net-tools & other standard unix packages installed in it. Submission

Zip the contents of Q1 folder that you performed the task in along with a report steps.txt on the sequence of actions you took to get to the final message. Redirect the final output message you get to a file named submission-q1.txt which you must also submit.

DONOT REMOVE ANY OF THE FILES OF Q1 FOLDER SUBMIT ALL FILES THAT ARE PRODUCED.

production server

deployment

properly

package

executeable

successful

Fri 22 Jan 01:40:58 IST 2021 gecko-ui-package SUCCESS

[a9ff8d80-35a7-4364-ba86-8e0b818ebc84]

[f5e467a9-25ee-49fa-b3ef-490abc626018]

Q2. How to kill a process properly? .
You have given a three scripts that takes an input file from the terminal via redirection and keeps on printing the content of input to stdout(1) upto

some time.
Create a script that uses these three scripts & prints the content to the screen. Use distinct inputs to each of the three scripts above.
The script you wrote must run three instances of our script as background processes each with one of the script above and disctinct input file. Try to kill them before printing stops.

Learn

You need to read up on signal handlers, kill command, sending signals & finally io-redirection to scripts.

  • cs253_assign_1-z4coy7.zip