It's going to depend..
From the command line:
mysqlimport --debug[1] -u username -p --fields-terminated-by "," --lines-terminated-by="\n\r" dbname tablename.txt
The filename is the tablename. Gotta figure out how your lines are terminated... with some Windows files it's \r\n.. g'luck.