Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 3 Assume that you have completed the tasks in the previous questions. You have written the program macro.c and saved the program the directory

image text in transcribed

QUESTION 3 Assume that you have completed the tasks in the previous questions. You have written the program macro.c and saved the program the directory CSE220-p01. (1) In this question, you will write a shell script named macro.sh to perform all the following tasks together: 1. Enter the home directory from anywhere; 2. Enter the directory CSE220-p01 3. Compile the program macro.c in CSE220-p01 and name the executable macro. Make sure all the warning are displayed during the compilation; 4. Make the file maco.sh executable 5. Execute your program by taking the input from inputdata.txt and write the result into the file outputdata.txt. (2) You have saved your script into macro.sh. Now, give the command that makes hello.sh executable and the command that runs the script macro.sh

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

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions

Question

Developing and delivering learning that is integrated with the job.

Answered: 1 week ago

Question

Use of assessments to determine trainees learning styles.

Answered: 1 week ago