Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Shell scripts. Linux virtual machine terminal. Take screenshot of the results. Create following (bash) shell scripts and return them here in a single file that

Shell scripts. Linux virtual machine terminal. Take screenshot of the results. image text in transcribed
Create following (bash) shell scripts and return them here in a single file that has been packaged and compressed Name the scripts: stepl.sh, step2.sh, step3.sh, and stepa.sh. Write the scripts so that they can be executed directly (ie. by running /step1.sh for example). 1. Script that clears the screen, greets the user by his/her login name, and prints the current date. The greeting must change depending on time (ie. Good morning if time is 8-12, Good afternoon is time is 12-16 etc.) 2. Create a script that will present a menu for the user where different commands can be run. Commands must include: long file listing of the current working directory, checking how long the system has been on, how much memory is being used and how much is free, disk space usage (whole system), and disk space usage (current working directory) command line. and then show next file. All the deleted files and the time when the delete happened should be listed to a logfile. 3. Build a script that will calculate sums of numbers from 1 through x. le. 1 to 5 would be 1+2+3+4+5. User can give the x value as an argument from the 4. Script that lists, one at a time, all files larger than 1MB under the current working directory. Script should give user option to delete, compress, or skip the fi

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

Transactions On Large Scale Data And Knowledge Centered Systems Xxiv Special Issue On Database And Expert Systems Applications Lncs 9510

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Hendrik Decker ,Lenka Lhotska ,Sebastian Link

1st Edition

366249213X, 978-3662492130

More Books

Students also viewed these Databases questions