Vanitygen: How ot store all generated addresses?
./vanitygen -k 1 -o output.txt


will generate addressses until you stop it, and will save the addresses to output.txt. It won't be formatted, so it's a better idea to use Vanitygen Plus's -z option, which formats the output as CSV.