Run the command "shuf -i 1-497 -n 1" to generate a random number between 1 and 497, then use the "xargs -I {} echo echo curl -O http://example.com/file.{}" command to download the file from the given URL with the generated random number as the file name.
shuf -i 1-497 -n 1 | xargs -I {} echo echo curl -O http://example.com/file.{}