-
Notifications
You must be signed in to change notification settings - Fork 1
/
normal25.sh
58 lines (58 loc) · 1.25 KB
/
normal25.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
for i in {1..10000}
do
echo "Welcome $i times"
sleep $((RANDOM%20))
ping -c1 10.1.1.1
#sleep ${RANDOM:0:1}
sleep $((RANDOM%20))
ping -c1 10.1.1.2
sleep $((RANDOM%20))
ping -c1 10.1.1.3
sleep $((RANDOM%20))
ping -c1 10.1.1.4
sleep $((RANDOM%20))
ping -c1 10.1.1.5
sleep $((RANDOM%20))
ping -c1 10.1.1.6
sleep $((RANDOM%20))
ping -c1 10.1.1.7
sleep $((RANDOM%20))
ping -c1 10.1.1.8
sleep $((RANDOM%20))
ping -c1 10.1.1.9
sleep $((RANDOM%20))
ping -c1 10.1.1.10
sleep $((RANDOM%20))
ping -c1 10.1.1.11
#sleep ${RANDOM:0:1}
sleep $((RANDOM%20))
ping -c1 10.1.1.12
sleep $((RANDOM%20))
ping -c1 10.1.1.13
sleep $((RANDOM%20))
ping -c1 10.1.1.14
sleep $((RANDOM%20))
ping -c1 10.1.1.15
sleep $((RANDOM%20))
ping -c1 10.1.1.16
sleep $((RANDOM%20))
ping -c1 10.1.1.17
sleep $((RANDOM%20))
ping -c1 10.1.1.18
sleep $((RANDOM%20))
ping -c1 10.1.1.19
sleep $((RANDOM%20))
ping -c1 10.1.1.20
sleep $((RANDOM%20))
ping -c1 10.1.1.21
sleep $((RANDOM%20))
ping -c1 10.1.1.22
sleep $((RANDOM%20))
ping -c1 10.1.1.23
sleep $((RANDOM%20))
ping -c1 10.1.1.24
sleep $((RANDOM%20))
ping -c1 10.1.1.25
sleep $((RANDOM%20))
done