projects
- intro (due 20140903)
- resume (due 20140903)
- notes (on-going)
- archives (due 20140917)
- puzzlebox (due 20140924)
- puzzlebox2 (due 20141001)
- dataproc (due 20141022)
- statuscalc (due 20141119)
- timeonline (due 20141218-172959)
projects
Corning Community College
CSCS1730 UNIX/Linux Fundamentals
~~TOC~~
To employ your growing shell script abilities in calculating a user's time spent online (on lab46) for the semester.
I would like you to write a script that:
Example output may look something like:
lab46:~/src/unix/timeonline$ ./timeonline jbob error: no such user 'jbob' exiting ... lab46:~/src/unix/timeonline$ ./timeonline jsmith12 Aug|**** (37) Sep|****** (61) Oct|******* (73) Nov|******* (74) Dec|** (17) Aug: 0 days, 14 hours, 31 minutes Sep: 2 days, 3 hours, 17 minutes Oct: 2 days, 5 hours, 58 minutes Nov: 3 days, 1 hour, 47 minutes Dec: 0 days, 5 hours, 32 minutes Total: 8 days, 7 hours, 5 minutes
Submission criteria are as follows: