I had difficulty in finding any large text file. In Google, some of them suggest to download from wikimedia dump and some of them from gutenberg project. However, the following steps are a lot easier than going to all the menus in either wikimedia or gutenberg.
Enter any small text file
In the first step, just enter any small text file. For example:
$ echo 'arwan ahmad khoiruddin' > mytext.txt
Merge the text into big file
Next, you can merge the text into big file. Here's how
$ cat mytext.txt mytext.txt mytext.txt > merged.txt
The content of file merged.txt
will be
arwan ahmad khoiruddin arwan ahmad khoiruddin arwan ahmad khoiruddin
So, if you want to create big file, you can just repeat the cat as many as possible. For example
$ cat mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt mytext.txt > merged.txt
Enjoy
Comments