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

  Benefit and drawback of each major operating system

Benefit and drawback of each major operating system

  Program for translates letter grade into number grade

Write down a program which translates the letter grade into number grade.

  What is the advantage when target is throughput and security

What is the advantage when target is throughput and securityty

  Define the key concepts that are involved

Explain the key concepts that are involved in transaction processing. explain the concepts and provide an explanation of the commands that are involved in the transaction. Also, explain the advantages of using transaction processing in your code.

  How dedicated technician to maintain your wan interfaces

When there is a network outage, how do companies find out the network boundary.

  What are the challenges in rolling out a business

What is "enterprise-wide analytics technology," and how can it play a part in understand business processes? What are the challenges in rolling out a Business Intelligence tool.

  Write down a select statement that lists the studentid

I have tried there two queries, but I am told that I am not doing something right. Here are the criteria I used to write the queries and my current answers.

  What type of network crimes may use p2p networks

Do some research on peer-to-peer networks (e.g., you may search "crime activity peer to peer networks", "crime activity P2P", "pornography P2P", "child pornography peer to peer network", etc.). What sort of network crimes may use P2P networks.

  Compare the role and impact of a computing technology

information on understanding an inner workings of digital downloads and digital compression. I need to follow the outline below. I'm running out of information. I need to compare the role and impact of a computing technology on society.

  Status of 3g and 4g network technologies

Describe the status of 3G and 4G network technologies in detail and also carry out some of the research work on the future of 5G technology.

  Write down a html script that plays a "guess the number"

The program selects the number to be guessed by selecting a random integer in the range of 1 to 1000. The script displays prompt "Guess a number between 1 and 1000" next to a text field.

  What is the memory operations dominate execution time

What is  the memory operations dominate execution time

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