Sorry, I cannot figure out how to get this thing to work correctly. I tried the whole blah.txt you mentioned but I cannot find the txt file. I even ran search for files and it came up with nothing. I have read many places that Gaim is a real pain to get the dependencies correct for it.
You could put a path before the text file. So something simple like ls > /home/jason/blah.txt can be ran from anywhere and will put the text file in the directory /home/jason. If you are in /root and ran ls > blag.txt it would just make the text file appear in the /root directory because you never specified a task. To find blah.txt, just type updatedb and once that is some use locate blah.txt. You could also use slocate but you might want to type man slocate to find the options for that. .
Dumping stuff into text files is more useful when you want to check the result of an nmap scan and need to go over the results carefully but its useful for diagnostic procedures too especially if you cannot cut/paste from a terminal.