The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate random numbers on ipxe shell??
2014-01-09, 16:26
Post: #1
Generate random numbers on ipxe shell??
Is there a way to generate random numbers on the ipxe shell, like how we would using a bash/korn shell? Does it require re-compiling the source?
Something like the following is what am looking for:

echo "192.168.0.$((RANDOM%253+001))"

Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Generate random numbers on ipxe shell?? - oblivionv - 2014-01-09 16:26



User(s) browsing this thread: 1 Guest(s)