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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

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

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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