Shell script that will count the number of files in account

Assignment Help Programming Languages
Reference no: EM13948386

File "Ageing" Shell Script

A) Write a shell script that will count the number of files in your account that 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 filles 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: EM13948386

Questions Cloud

Identify the main functions of the australian competition : Briefly explain the rationale or justification for using those sections to pass the ACL - Briefly outline the benefits to consumers and business of the ACL.
Identify the important attributes for your chosen product : Identify the important attributes for your chosen product and select two key variables for your perceptual map. Prepare a perceptual map for your chosen product/brand and using a minimum of five competitors, rank each product/brand on the two var..
Autonomous consumption spending : A rise in autonomous consumption spending or a rise in invest- ment or a rise in government spending by 50 leads to the same impact on equilibrium income and toidentical adjustment paths for Y(t).
Cobweb model on a spreadsheet : Set up the following cobweb model on a spreadsheet for t =0 to 10
Shell script that will count the number of files in account : Modify the script to get it to back up to "X" number of days and list the files that were modified for each day.
Events or eras in health care and their impact : It is essential to identify, examine, and understand the history and foundations of health care in the U.S. as this will be the foundation for understanding health care systems though this course and in practice. Students will need to show a thor..
Determining the phenomenon of luminescence : 1. (a) In your own words describe briefly the phenomenon of luminescence. (b) What is the distinction between fluores- cence and phosphorescence?
Calculate the unit cost and the cost of finished goods : Calculate the unit cost and the cost of finished goods inventory under absorption costing. Calculate the unit cost and the cost of finished goods inventory under variable costing.
Absorption mechanisms in nonmetallic materials : 1. Briefly explain what determines the characteristic color of (a) a metal and (b) a trans- parent nonmetal. 2. Briefly explain why some transparent materials appear colored while others are color- less. 3. Briefly describe the three absorption mecha..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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