Create a command that will randomly select one number from 1 to 257 and create a file with the name of that number and the extension .log.
shuf -n 1 <(echo {1..257}) | xargs -I % printf 'touch %.log\n'