---

How to Generate a Random Number in Linux

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.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis