Create a random character text file using Linux shell - LinuxConfig.org

Here is a nice trick on how to create a dummy character text file consisting of any chosen or random characters. In the first example we will create and simple file consisting of a single character X with a size of 1000 bytes:
This is a companion discussion topic for the original entry at https://linuxconfig.org/create-a-random-character-text-file-using-linux-shell