Download Knoppix, or Ubuntu (or many other flavors of Unix).
They have a compiler with them (usually GCC, command line is 'gcc').
Basic Unix commands I use every day:
cd = change directory
ls -al = list files and all the information about them
find = find files/directories
grep = search in text/files
xargs = function to run a command on each argument (use could be something like this: ls | | xargs grep "sometext")
Other Unix commands that I use sometimes:
mkdir = make a directory
rmdir = remove directory (the full path must have no other files in it)
rm -rf = remove the entire directory and any files that are in it
ps = process show (lists the processes you have running)
jobs = get a list of jobs that you have running (including background jobs)