Design a script that checks the day of the week

Assignment Help Computer Engineering
Reference no: EM1336253

Create a script that checks the day of the week, and takes one of two actions (step 2 or 3) depending on the day.
If the day is Monday through Friday, print (send to stdout) the name of the day. Then, find each file named TTDL (Things-To-Do List) in the tree rooted at the current directory (pwd on down). Using a separate output line for each of these files, print the file path and the number of lines in the file using wc -l. Create at least two TTDL files to test my program: one in my working directory and one in a subdirectory.

If the day is Saturday or Sunday, print only a simple message, such as "Go back to sleep".

Run my script on a weekday, redirecting your output to the file my_save and append a copy of my script.

Reference no: EM1336253

Questions Cloud

Managing data and information : How are data and information used within the human services organizations to support organizational planning and Why are integrated information management systems important in human service organizations? Give an example to support your answer.
Regarding the cultural perspective on crime : Write a position on whether or not you feel that minorities are overrepresented in the criminal justice system because of prejudices within the system.
Explain how would your answer change if you : Explain how would your answer change if you also noted that the biggest declines in the unemployment rate occurred.
Explain creating a marketing mix : Explain Creating a Marketing Mix and The combination of the four Ps used for the purpose of marketing product is known as the Marketing Mix
Design a script that checks the day of the week : Using a separate output line for each of these files, print the file path and the number of lines in the file using wc -l. make at least two TTDL files to test my program: one in my working directory and one in a subdirectory.
Show reaction to the vendor''s past litigation experience : Prepare an e-mail to the vendor describing how you will move ahead with the contract and what actions you would like them to take next. Discuss your reaction to the vendor's past litigation experience, and decide what you will do to avoid a simila..
Discuss how the findings align with the organization''s goals : Analysis of a plan examining the degree of alignment between the organization's proposed published values and mission and  Discuss how the findings align with the organization's goals.
Strategies for positive risk or opportunities : List the strategies for positive risk or opportunities.
Elucidate the effectiveness of these staffing practices : Elucidate the effectiveness of these staffing practices and selection tools in meeting current and future employment needs of the organization.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Program would update the account to reflect payment

After discussing this with your uncle, you agree to set up a computer and make a program that would keep track of his clients. It would calculate the bills and print invoices that would be mailed to the clients. It will also keep track of the clie..

  Photoshop cs5 and cs5

Explain the programs that are available in order to edit the images? Explain at least two of the attributes available in the Photoshop CS5 and CS5.

  They want ot add calculation of shipping and tax

Each step takes 7 days except mail, that is the next day after personalize.

  How to identify as important to the process

How important is it to have an established process while implementing a new technology into an organization.

  Discuss how these business rules could be set up

How can the above business rules be set up in a database and reinforced using DCL.

  Code memory contents of code address instruction

make Use of the nine PAL instructions listed below to solve the problems.

  Find the rest are in the kitchen for the chef''s staff.

throughout Phase One of this project, your job is to set up the Windows Server 2003 and train two of the management staff on its operation.

  Compare productivity based solutions

Microsoft has expended a lot of effort into developing productivity tools for the Web, particularly with the .NET strategy. though, there are many other tools for creating Web solutions.

  Designing the dfd

Construct a context diagram for the new system. Construct a diagram 0 DFD for the new system.

  Process used to detect and correct transmission errors

process used to detect and correct transmission errors.

  Write down an object oriented program in java

take a rectangular matrix of cells, each of which can contain an organism. If the matrix is viewed as extending indefinitely in both directions, then each cell has eight neighbors, the eight cells surrounding it.

  Separate following program into appropriate lexemes

Separate following program into appropriate lexemes

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