Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am providing a shell script file find _ a _ out. sh that repeatedly searches for files named a . out under the current

I am providing a shell script file find_a_out. sh that repeatedly searches for files named a. out under the current folder and sends the results to files_to_remove.txt.
Note: You don't need to fully understand this script for now because we will have extensive discussion of shell scripting later.
4.1. Locate that script in a gist of mine.
4.2. On Google Cloud, click the "Open Editor" graphic. Create a new file find_a_out.sh and copy the code from my gist, save the file.
4.3. Make the file executable, and test it out.
> chmod +xfinda?out.sh
>.finda?out.sh??# press ctrl+cto terminate a running script
> cat filestoremove.txt
image text in transcribed

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

What was the positive value of Max Weber's model of "bureaucracy?"

Answered: 1 week ago

Question

1. What would you do if you were Jennifer, and why?

Answered: 1 week ago