Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bash script to return a random number between 0 and 100
#1
Let's write a script which will use this variable and some arithmetic to return a random number between 0 and 100.
Code:
#!/bin/bash

a=$RANDOM

b=$(( $a % 100))

echo $b
Reply
#2
An essay is a good method to embed all the facts and figures together which had been received from different sources. The students can show creativity in each stage of the process of writing an essay. Essay writing contributes to intellectual development of the students and helps the student become Sharp and organized in his academics and daily life.The write my essay services allow the students to prepare high quality essays.Writing skills are important in all fields and therefore students must be careful in quality writing.
Reply
 


Forum Jump:


Users browsing this thread: 2 Guest(s)

About SL Talkz

"One world One commmunity"

SL Talkz is a general discussion community
where you can participate in active discussions,
make new friends and great place to receive help.

Quick jump

Desinged by

SL Talkz Dev