Question

I am using some tcsh code that uses a command called shuf:

shuf $file_name > out.txt

http://tuxthink.blogspot.ca/2012/06/shuf-to-shuffle-contents-of-file.html

but seems my linux/bash version does not have it. Does anyone knows a way to install it?

My linux/tcsh is:

$ echo $version
tcsh 6.14.00 (Astron) 2005-03-25 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,color,filec
$ uname -mrs
Linux 2.6.18-194.8.1.el5 x86_64

Also, I am a user of the server but I do not have super user permission, can only perform local installations in my user folder.

Thanks!

Was it helpful?

Solution

Try your package manager or sudo apt-get install shuf

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top