Print the numbers 1 to 50 in a random order, then take one of them and use it to download a file from the website http://example.com/file.
printf '%s\n' {1..50} |shuf -n 1 |xargs curl -O http://example.com/file