Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Now cd to your work directory you created in assignment #1. Write a bash script to: a. Create the following output Enter User's Full

image text in transcribed

2. Now cd to your work directory you created in assignment #1. Write a bash script to: a. Create the following output Enter User's Full Name Enter User's ID Enter User's Job Location : eg: PX17 , AM91 [Make sure to enter AA99 pattern job location] Enter User's Manager Code : Run this script, read input and print the result on screen.(Get a screen dump) b. Add more code to the above script to pipe the output (i.e. user's information) to a file named firstname_lastname.usr and save that file in the test_users directory created above. (Test with at least 2 users. Then Get a screen dump of the test users directory] 3. Write a bash script to a. Read a file name with the pattern firstname_lastname.usr and then read that file from the test_users directory and echo that user's information from the file.[get minimum of 2 user screen dumps] b. If the entered file name is not existing in the test_users directory echo a message "file : does not exists". [Enter non existing file name and get a screen dump of the result] 2. Now cd to your work directory you created in assignment #1. Write a bash script to: a. Create the following output Enter User's Full Name Enter User's ID Enter User's Job Location : eg: PX17 , AM91 [Make sure to enter AA99 pattern job location] Enter User's Manager Code : Run this script, read input and print the result on screen.(Get a screen dump) b. Add more code to the above script to pipe the output (i.e. user's information) to a file named firstname_lastname.usr and save that file in the test_users directory created above. (Test with at least 2 users. Then Get a screen dump of the test users directory] 3. Write a bash script to a. Read a file name with the pattern firstname_lastname.usr and then read that file from the test_users directory and echo that user's information from the file.[get minimum of 2 user screen dumps] b. If the entered file name is not existing in the test_users directory echo a message "file : does not exists". [Enter non existing file name and get a screen dump of the result]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

What information is relevant to solve this problem and why?

Answered: 1 week ago

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago