Make the script to get it to back up to "x" number

Assignment Help Computer Engineering
Reference no: EM1336891

File "Ageing" Shell Script

A) Write a shell script that will count the number of files in your account hat were last modified 5 or more days ago. When you run the shell script, the results should look something like this:

% ageing
there are 19 files modified 5 or more days ago.
%

B) Modify your script (or re-write it if you wish) to allows the user to choose what the script should use for the last modified day. Example:

% ageing 15
There are 4 modified files 15 or more days ago.

C) Modify the script to get it to back up to "X" number of days and list the files that were modified for each day. Example:

% ageing -3
Files modified 1 day ago
./a.txt
./b.txt

Files modified 2 days ago
./2days.txt
./dir1/test_file.txt
./dir2/test_file2.txt

Files modified 3 days ago
(none)

Reference no: EM1336891

Questions Cloud

Difference between llp and llc : The difference in liability and taxation of an LLP (Limited liability partnership) and an LLC (Limited liability company).
Define the eoq : Daily demand for packages of five videotapes at a warehouse store is found to be normally distributed with mean 50 and standard deviation 5.    Discuss and define the EOQ.
Explain channel management decisions- text message filtering : Explain Channel Management Decisions- Text Message Filtering and Analyze the impact of channel management decisions on the marketing of your selected product or service
Elucidate the effect of this inflow on the rental price : Elucidate the effect of this inflow on the rental price of capital in the United States and on the quantity of capital in use.
Make the script to get it to back up to "x" number : Write down a shell script that would count the number of files in your account hat were last modified 5 or more days ago. When you run the shell script, the results should look something like.
Role-management in dissemination of information to employee : What is the management's role in the dissemination of information to employees?
Illustrate what role do the differences in teaching loads : At some of these schools, economics professors have lighter teaching loads than professors in some other fields. Illustrate what role do the differences in teaching loads play.
Cases of judicial activism : Take a position as a Judicial Activist. Argue for this position. Why is it better to have judicial activists in the Supreme Court? Is it a judge's role to create new law for social good?
Explain marketing mix- 4 p''s of marketing : Explain Marketing Mix- 4 P's of marketing and What could you do as a marketing team to expand the market potential of a product

Reviews

Write a Review

Computer Engineering Questions & Answers

  Make a list of files that are world-writable

make a crontab to perform the tasks listed below at the frequencies specified. Note that you do NOT need to write the actual scripts.

  Make application that changes the color of the frame

build a frame with four buttons: one for red, one for green, one for blue, and one for gray. Clicking on a button changes the frame to the corresponding color.

  Simulate the transmssions of information by manually typing

modify a menu that allows the administrator to simulate the transmssions of information by manually typing in the login or logoff data. whenever someone logs in or out the display should be updated

  Avoiding breaches in health care information system

Analyze the financial and privacy impacts of the breaches to health care information systems and make at least two recommendations in order to prevent such breaches in future.

  Make a 2010 word flowchart listing the steps

You are sitting on a chair in a large room. You see an empty chair, facing you, across the room. You want to get to that chair on the other side of the room and sit in it.

  Discuss the tester and developer relationship

Discuss the tester and developer relationship within spiral development methodology. You may use your personal experiences to support the arguments.

  Difference between vertical and horizontal market software

give the difference between vertical and horizontal market software. Please explain/elaborate in detail.

  Sorting the array

Write down a program which stores lists of the names (the last name first) and ages in parallel arrays and sorts names into alphabetical order keeping the ages along with the correct names.

  How it influence it department''s ability to maintain

be sure to address readability as a characteristic and how it will influence an IT department's ability to maintain custom software for a corporation.

  Program declaring the variables-using proper variable naming

Your program should declare all the variables and utilize the proper variable naming conventions.

  Factors affecting the group process and outcome

In class, we introduced different factors which may affect group process and outcome, like group size and the status effect.

  Why computer''s activities is handling failure

why computer's activities is handling failure.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd