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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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