I have some files in linux. For example 2 and i need shuffling the files in one file.
For example
$cat file1 line 1 line 2 line 3 line 4 line 5 line
I would use shuf too.
shuf
another option, gnu sort has:
-R, --random-sort sort by random hash of keys
you could try:
cat file1 file2|sort -R