Answered step by step
Verified Expert Solution
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:
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 executableStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started