Ubuntu Manpages

rand

display a random numbers

rand [OPTION]

Write random numbers to standard output.

the count of random numbers
enable interpretation of backslash escapes
disable interpretation of backslash escapes (default)
the limit of the random numbers (default 32576)
generate unique numbers (non duplicate values)
generate float numbers from 0 to 1
the precision of float numbers (activates -f)
the seed for the random numbers generator (default time(NULL))
delimiter between the numbers (default SPACE)
What to print at the end of the program (default newline)
What to print at the beginning of the program (default nothing)
Mask the numbers (integer only) and display characters according to the mask.
output version information and exit

Written by Guduleasa Alexandru Ionut.

Report bugs to <gulyan89@yahoo.com>.

Copyright © 2008 gulyan89@yahoo.com. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.