answered 2017-05-31 07:26:18 +0200
from the command line:
$ sage -c 'print(2^1000)' >> 2_power_1000.txt