Display the first random number between 10 and 50 lines of the /etc/passwd file, then display the last random number between 5 and 30 lines of the same file.
head -$(shuf -i 10-50 -n 1) /etc/passwd | tail -$(shuf -i 5-30 -n 1)