My first useful program, ever

2:00am, finals week, what would be a good use of my time? Oh, yeah, how about writing a little bash script to keep my external hard drive from constantly spinning down? Observe:

#!/bin/bash
 
while [ true ]
do
touch /media/BigEx/.keephdactive
sleep 4m
done

Wow, right?
Yeah, it’s been kind of bothering me for months, nothing [...]

Also tagged , , ,