shuf

File Read

The read file content is corrupted by randomizing the order of NUL terminated strings.

shuf -z /path/to/input-file

File Write

The written file content is corrupted by adding a newline.

shuf -e DATA -o /path/to/output-file