If you want to quickly add new tasks to your todo.txt from the command line, I strongly recommend
http://todotxt.com/ It is a fantastically lightweight solution and has an Android app for those times when you are not in front of a computer. The Android app just reads/writes to the same todo.txt file over Dropbox.