Run the command "curl -s https://api.rand.fun/number/integer?max=100000" to get a random number between 0 and 100000, then use the command "cat file.txt | grep" followed by the random number to search for it in the file "file.txt".
curl -s https://api.rand.fun/number/integer?max=100000 | awk '{print "cat file.txt | grep "$1}'