Linux Lotto!
Veikkauksen uuden Kaikki tai ei mitään pelin numerot voi myös arpoa Linux terminaalilla.
Luo omia Keno, Lotto tai Eurojackpot numeroita Linux-tietokonella!
Tässä näytän teille muutamia helppoja esimerkkejä siitä, miten voit luoda omia Keno, Lotto tai Eurojackpot numeroita Linux päätteellä, avaa pääte ja sinne seuraavia komentoja.
Eurojackpotia pelataan valitsemalla 5 numeroa luvuista 1–50 sekä 2 tähtinumeroa luvuista 1–10.
echo $(shuf -n 5 -i 1-50 | sort -n) + $(shuf -n 2 -i 1-10 | sort -n)
Valitsee 7 Lotto numeroa 1 – 39 välillä
echo $(shuf -n 7 -i 1-39 | sort -n)
Valitsee 6 Viking Lotto numeroa 1 – 48 välillä
echo $(shuf -n 6 -i 1-48 | sort -n)
Valitse Keno numeroja 1 – 70 välillä
echo $(shuf -n 10 -i 1-70 | sort -n)
Voit vaihtaa Keno tason vaihtamalla numeron kymmenen, 2 – 10 välillä
Kaikki tai ei mitään numerot saat tällä komennolla.
echo $(shuf -n 12 -i 1-24 | sort -n)
Linux Lotto Pelionnea!





Euro millions / Euromilhoes (this is a European multi country Lotto)
echo $(shuf -n 5 -i 1-50 | sort -n) + $(shuf -n 2 -i 1-9 | sort -n)
5 numbers + 2 star numbers
Hi,
thanks for this tip; but what about the quality of the results, I know that it is very diffucult to built a good random generator,
how good is this Terminal script?
thx
Difficult to say, you have to give it a try!
Teucca
how bout finnish Jokeri? 7 numbers randomly. 0-9 7 times and can have same number again.
echo $(shuf -i 0-9 | shuf -n 7) but this doesnt give same number again.
Thanks Joe!
näihinkö sais vielä koodin jolla se huomioi aiemmat kierrokset ja laskee todennäköisyydet seuraavasta osumasta 🙂
Mielenkiintoinen tutoriaali. Law of large numbers väitetysti vaikuttaa pelituloksiin, en tiedä sitten miten sitä voisi hyödyntää satunnaisgeneraattorissa.