dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


How to Generate a Random Number in Linux

Apr 19, 2019, 11:00 (0 Talkback[s])
(Other stories by Steven Vona)

In this article we will discuss how to generate a random number from the Linux command line. There are several methods which provide different results. We will explore how to generate a random number within a range and also a specific length. In addition we will touch on seeding and a fun example of how to use random numbers in shell scripts.

Complete Story