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 (what find returns) and the number of lines in the file (use wc -l). Remember you will need to create at least two TTDL files to test your program: one in your 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".
Recently Asked Questions
- Answer the following questions by inputting the given data below into the simulation spreadsheet attached. ch05spreadsheet.xlsm A baker is trying to determine
- Adams Madison needs $252,800 in 10 years. Click here to view factor tables How much must he invest at the end of each year, at 12% interest, to meet his
- References on your APA Reference Lists should include the Author, Date, Article title__________ and DOI or publisher URL.