Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need to make a Linux script that does the following: Item Item Description Log into CentOS Create a new executable script file called assign4 mike.sh.

Need to make a Linux script that does the following:

image text in transcribed

Item Item Description Log into CentOS Create a new executable script file called assign4 mike.sh. (Replace "mike" ame Have a comment at the top of the script file marking vourself as the author. 2. The script will create a subfolder in the current directory with a name specified in the first command argument The script will report to the screen that the folder was created and STATE THE FOLDER'S NAME The script will create a file in the current directory with a name specified in the second command argument The script will report to the screen that the file was created and STATE THE FILE'S NAME 6. The script will change the permissions on the file to be Read, Write, and Execute for the user (owner), Read and Write for the owning group, and just Read for others The script will report that the The script will run a command to display all files in the /bin folder and redirect the output to the file created in Step 4 The script will report to the screen that the list of files in /bin have been written to the file issions were changed 10. The script will output the number of lines in the file created in Step 4, which will now be essentially a count of the files in /bin. 11.The script will MOVE the file created in Step 4 into the folder created in Step 2 12.The script will report that it has moved the file and that the script has successfully completed Make sure vour script file is saved and made executable

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

Nested Relations And Complex Objects In Databases Lncs 361

Authors: Serge Abiteboul ,Patrick C. Fischer ,Hans-Jorg Schek

1st Edition

ISBN: 3540511717, 978-3540511717

Students also viewed these Databases questions

Question

5. How would you describe your typical day at work?

Answered: 1 week ago

Question

7. What qualities do you see as necessary for your line of work?

Answered: 1 week ago