Last active
November 28, 2017 00:39
-
-
Save prasadtalasila/fdb6adee70f0e62ea3716ffa93f2ce1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create a random arrangement of an input sequence (good for exam seating arrangements) | |
$seq <first_no> <last_no> | shuf | |
If we have pre-determined list of students, we can use "shuf" command to generate the random permutation of the students | |
and then give them a sequential seating order. | |
$shuf student_list.txt > random_order_list.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment