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

  Difference between the typed password and "phoenix"

explain difference between the typed password and "Phoenix".

  Give some of the major threats to information systems

What will happen if that information were compromised? What are some of the main threats to information systems? Provide three examples to support your answer.

  Make an assignment to read rfc

Make an assignment to read RFC

  List minimum five non-computer related businesses

List minimum five non-computer related businesses where software has a significant, if 'behind the scenes' impact.

  Virtual circuit is newly set up in an atm network

ATM networks use a token bucket scheme to regulate traffic (traffic shaping). A new token is put into the bucket every 1 usec so ATM cells can be sent during this time. The data payload of ATM cells is 48 bytes.

  How to create a visual studio 2008 asp .net web site

If result is a positive number, display the answer in Arial font. The Label server control should also display an error message to the user if they tried to divide by zero on first Web Form.

  Design a flowchart and pseudocode using control breaks

design a flowchart and pseudocode using control breaks that enable the user to print invoices for any raw material that is selected.

  Show how to build a j-k flip-flop

express how to build a J-K flip-flop using a T flip-flop with enable and combinational logic.

  What do mean by digital stratigraphy

What is digital stratigraphy? Give an instance to illustrate how digital stratigraphy is important in the field of Computer Forensics.

  Make a class named student

design a class named ShowStudent that instantiates a Student object from th eclass and then display all the vlaues associated with the Student. Save as ShowStudent.java

  Produce a state transition diagram

Produce a state transition diagram

  Distinguish between open and closed applications.

explain  HTML, XML and Java programming. What is the difference between the three.

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