Hey Guys, I am Extremely new at this ( meaning i just loaded knoppix on Virtual PC about a week ago) which is giving me tons of problems. i am trying to get a machine i can through linux on bu8t don't have access to one at the momment
I need a script in bash that i can run using cron that I can schedule every 5 minutes or so to show what users are logged on to a machine and how long they have been logged on and append this information to a logfile. Can anyone give me a hand? I would really appreciate it
Sounds alot like a homework project.....
I'll get you started anyway......
use ">>"redirect to append one ">" overwrites. two ">>" appends to a file.
Should be fairly simple.