Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash randomly shuffle all rows of a file

# Basic syntax:
cat your_file | shuf
# Note, you can specify multiple files after cal to randomly shuffle
#	the rows of multiple files into one output
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #randomly #shuffle #rows #file
ADD COMMENT
Topic
Name
3+2 =