Create a shell script the count the number of files

Assignment Help Data Structure & Algorithms
Reference no: EM1380752

File "Ageing" Shell Script

A) Create a shell script that will calculate the number of files in your account hat were last modified five or more days ago and when you run the shell script, 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: EM1380752

Questions Cloud

Create a sample human resource strategy : Create a sample human resource strategy that aligns with subsequent business strategy: "A satisfied customer is best business strategy of all."
What kind of strategy is sturbucks using to enter : What kind of strategy is Sturbucks using to enter this competitive market? Giive details on this strategy. Explain which will be involved in the strategy.
Explain how to design his new organization : explain how to design his new organization. This design will comprise management structure, pay system also allocation of work to individuals also groups.
How products range from small portable high-pressure washers : Products range from small portable high-pressure washers to large industrial installations for snow removal from vehicles stored.
Create a shell script the count the number of files : Create a shell script that will calculate the number of files in your account hat were last modified five or more days ago and when you run the shell script,
What role does corporate governance play in strategic plan : What is corporate governance? need help with this part - What role does corporate governance play in strategic planning? Why is it important?
Illustrate what are your career aspirations for next five yr : "Illustrate what are your career aspirations for next five years." Use one of four basic units of content analysis to analyze their responses. Illustrate your findings as frequencies for unit of analysis selected.
Management believes that they can increase the price : Management believes that they can increase the price per hour by 10 percent in this new situation and improve profits by 10 percent, but the sales department cautions that the price increase may decrease sales by 15 percent
Illustrate what types of initial screening should be made : For instance, do you have any thoughts regarding where organization may start its search for candidates. In your opinion, illustrate what types of initial screening should be made of those candidates.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Computing total number of keys needed in symmetric cipher

Determine the total number of keys that are needed for organization if symmetric cipher is used.

  Addition and subtraction of numbers in binary

Addition and Subtraction of numbers in binary and round to the nearest decimal number with three significant decimal digits

  Modify bellman ford algorithm to find negative weight cycle

Demonstrate how to modify the Bellman Ford algorithm to find and print a negative weight cycle in a weighted directed graph G if one exists.

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Discuss and define normalization

Discuss and define normalization and what are the basic steps of the normalization process?

  Simplify rsa cryptosystem using prime number

Assume we tried to simplify RSA cryptosystem using just prime p instead of composite modulus N = pq. As in RSA, we would have encryption exponent.

  Creating an array

Determine which of the following commands is used to create an array?

  Write algorithm to reverse elemens in queue

Using basic queue and stack operationns, write algorithm to reverse elemens in the queue. Suppose that 'Stack' is class described in section with 'StackType' set to int and STACK_CAPACITY

  Create a program using c++

Create a program using C++ or Java that will automatically generate x numbers between a range provided by the user? For purposes of this project, the range can be 1-20 and store them in an array.

  Data structures and algorithm design

Data Structures and Algorithm Design

  Prepare a japplet with a jbutton

Prepare a JApplet with a JButton labeled Who is number one and when the user clicks on button, display your favorite sports team. Save the document as JNumberOne.java.

  Water resources engineering

The current practice of a particular part of water resources engineering is supported through a variety of commercial software. Pick a specific domain within water resources engineering.

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