Before we switch mostly to C: Scripts! A simple script: Just a bunch of commands in a file You can totally do that It can save a bunch of time Arguments to scripts: They're just $1, $2, etc. Conditionals: "if" and "while" are keyed off return value Most commands do set this. grep example test ([) Yes, there is a command called [ It's a real program It *will* refuse to run if it doesn't have ] as a parameter You can also call it test Alright, can we tell if my laptop is too hot? I think the fan went bad, or maybe it's just full of dust Today we finally did an active learning! Create a script, named al1002, which will output the number of unique users who have logged into isoptera during the period last covers (at this point, from October 1 until now, so the past two days). You'll have to pipe last into something that'll give just the usernames, then sort (-u will give unique entries), filter out the lines that aren't a user unless your username finding command already did, and then count them (probably with wc). The script should be executable (chmod 705 or some such), and remember to include #!/bin/sh so it can be run.