Randomly shuffling lines in Linux / Bash
I have some files in linux. For example 2 and i need shuffling the files in one file.

You should use shuf command =)
cat file1 file2 | shuf

Or with Perl :
cat file1 file2 | perl -MList::Util=shuffle -wne 'print shuffle <>;'

