Lottó számok generálása véletlen számgenerátorral, parancssorból

Mindenkinek megvan a "tuti tippje” hogy melyek lehetnek a nyerő számok a következő lottó sorsoláson, és mindenkinek van egy biztos módszer arra hogyan választja ki azt az 5, 6, 7 számot amit megjátszik a következő húzáson. Van aki mindig ugyan azt a számokat játssza és van aki változatosan játszik, hétről hétre más számokkal. Ebben az esetben a számok választását sokféle különböző módszerre lehet bízni. Ha épp egy Linux terminál előtt vagy, előállíthatód a tippjeidet parancssorból is.

Türelmetleneknek itt van a parancs amit csak beillesztesz a parancssorba  és máris megvan a véletlenül generált számsorozat amit megjátszhatsz. Ha érdekelnek a részletek, olvass tovább.

clear;for i in {1..5}; do echo $((RANDOM%90+1)); done | sort -n

5 véletlen szám generálás  1-90 tartományból

clear;for i in {1..6}; do echo $((RANDOM%45+1)); done | sort -n

6 véletlen szám generálás  1-45 tartományból

clear;for i in {1..7}; do echo $((RANDOM%35+1)); done | sort -n

7 véletlen szám generálás  1-35 tartományból

Vegyük részletesen a dolgokat:

clear

Tiszta képernyővel kezdünk.

for i in {1..5}; do echo „”; done

Ez egy ciklus ami jelen esetben 5 alkalommal ismétlődik. A ciklus közepén,  a „do” után lévő parancs végrehajtódik.

echo $RANDOM

Ez a véletlen számgenerátor.

echo $((RANDOM%35+1))

Itt a 0 és 36 közötti tartományból ad egy egész számot.

A parancssorral akár matematikai műveleteket is lehet végezni. A kiszámítandó egyenletet a két zárójel közé kel zárni

$(( művelet ))

$(( 24/2 ))

"művelet" végrehajtása. Az echo szükséges elötte.

sort -n

A kapott számokat sorrendbe rendezzük. A -n szükséges a numerikus sorrend szerinti rendezéshez.

 

Hozzászólások

What's up to all, because I am in fact eager of reading this

webpage's post to be updated regularly. It consists of fastidious stuff.

my page; shoelifts?????

Appreciating the commitment you put into your website and detailed information you

present. It's good to come across a blog every once shoe lifts in converse

a while that isn't the same out of date rehashed material.

Great read! I've bookmarked your site and I'm including your RSS feeds to my Google account.

I am truly grateful how to grow taller the owner

of this web page who has shared this wonderful piece of writing at

at this place.

Does your blog have a contact page? I'm having problems locating it

but, I'd like to shoot you an email. I've got some creative ideas for

your blog you might be interested in hearing. Either way,

great site and I look forward to seeing it improve

over time.

Here is my web blog; Talker

hello!,I like your writing very a lot! share we keep up a correspondence extra about your article on AOL?

I require an expert in this area where to buy shoe lifts

solve my problem. Maybe that is you! Taking a look ahead to see you.

I'd like to thank you for the efforts you've put in penning

this blog. I'm hoping to see the same high-grade blog posts by you in the future as well.

In fact, your creative writing abilities has inspired me to get

my own blog now ;)

my web page; Tallebudgera Creek

Thanks for a marvelous posting! I quite enjoyed reading it, you could be a great author.I will ensure that I bookmark your blog and may come back from now

on. I want to encourage continue your great posts, have a nice day!

Look into my homepage: tom cruise shoe lifts

Wonderful blog! Do you have any helpful hints for

aspiring writers? I'm planning to start my own blog

soon but I'm a little lost on everything.

Would you suggest starting with a free platform like Wordpress or go for a paid option? There are so

many choices out there that I'm totally confused ..

Any suggestions? Kudos!

Here is my blog - Tall-i Bakun

Appreciation to my father who told me on the topic

of this blog, this weblog is actually amazing.

My web blog ... Tatler (1709 journal)

I have been browsing online more than 4 hours today, yet I never found any interesting article like

yours. It's pretty worth enough for me. In my view,

if all webmasters and bloggers made good content as you did,

the internet will be a lot more useful than ever before.

Here is my website - heel lifts

With havin so much written content do you ever run into any issues

of plagorism or copyright violation? My site has a

lot of completely unique content I've either created myself or outsourced but

it looks like a lot of it is popping it up all over the internet without

my agreement. Do you know any methods to help reduce content from being stolen? I'd really appreciate

it.

my website :: Queensland

Thank you for sharing your thoughts. I really appreciate your efforts and

I am waiting shoe lifts for children your further

write ups thank you once again.

Its like you learn my thoughts! You appear to grasp so much

approximately this, such as you wrote the ebook in it

or something. I think that you could do with some % to pressure the message home a bit, but instead of that, this

is fantastic blog. An excellent read. I'll definitely

be back.

Here is my web-site ... taller de tapas

I am truly grateful to the holder of this web page who has shared this wonderful piece of writing at at this

time.

Also visit my blog; google:suggestrelevance

Very energetic post, I enjoyed that bit. Will

there be a part 2?

Here is my homepage; Queensland

We're a group of volunteers and opening a new scheme in our community.

Your website offered us with valuable info to work on. You have performed a formidable job and our

entire community shall be thankful to you.

Also visit my homepage; shoe lifts

Excellent post however I was wondering if you could write a litte more on this topic?

I'd be very thankful if you could elaborate a little bit

more. Appreciate it!

Here is my homepage ... Taller de Gráfica Popular

Thanks for the marvelous posting! I seriously enjoyed reading it, you could be a great

author. I will remember to bookmark your blog

and may come back down the road. I want to encourage that you continue your great writing, have

a nice holiday weekend!

Also visit my web-site ... heel lifts in boots

I do agree with all the ideas you've introduced Tallest building on Earth your post.

They are really convincing and will certainly work. Nonetheless, the posts are too

quick for newbies. May you please extend them a little from next time?

Thank you for the post.

Excellent post. I'm going through many of these issues as well..

My web blog - tom cruise shoe lifts

Howdy! Do you know if they make any plugins to help with SEO?

I'm trying to get my blog to rank for some targeted keywords but I'm not

seeing very good gains. If you know of any please

share. Many thanks!

Look at my web-site taller de escritores 2nd edition

Everything is very open with a precise clarification of

the issues. It was really informative. Your website is extremely helpful.

Thanks for sharing!

My blog post - al taller del maestro

Thank you for the auspicious writeup. It in fact was

a amusement account it. Look advanced to far added agreeable from

you! However, how could we communicate?

Take a look at my site google:suggestrelevance

Hey there, You've done an excellent job. I'll definitely digg it and personally suggest to

my friends. I'm confident they will be benefited from this web site.

my website :: google:suggestrelevance

Greetings from Idaho! I'm bored to death at work

so I decided to browse your site on my iphone during lunch break.

I really like the information you provide

here and can't wait to take a look when I get home. I'm shocked

at how quick your blog loaded on my cell phone .. I'm not even using WIFI, just 3G ..

Anyhow, very good site!

my homepage: shoe lifts for children

Hello, after reading this amazing post i am too cheerful to share my familiarity here with mates.

Here is my weblog - heel lifts for toe walking

I go to see every day a few blogs and websites to read posts, but this blog

gives feature based articles.

Here is my blog - heel lifts target

I every time used to read paragraph in news papers but now as I am

a user of internet so from now I am using net shoe lifts for leg length discrepancy articles or reviews, thanks to web.

Woah! I'm really enjoying the template/theme of this website.

It's simple, yet effective. A lot of times

it's very hard to get that "perfect balance"

between superb usability and visual appearance. I must say you

have done a great job with this. Additionally,

The Talleys blog

loads extremely fast for me on Opera. Excellent Blog!

You actually make it seem really easy with your presentation however

I find this matter to be actually one thing that I believe I would never understand.

It sort of feels too complicated and extremely broad heel lifts for riding boots me.

I'm looking ahead in your next put up, I will try to get the dangle of it!

Hey there! I just wanted to ask if you ever have any trouble with hackers?

My last blog (wordpress) was hacked and I ended up

losing a few months of hard work due to no data backup.

Do you have any methods to prevent hackers?

Here is my weblog; adjustable heel lifts

Hello, I want to subscribe for this website to take most up-to-date updates, therefore where can i

do it please assist.

Here is my web-site - Tayler Malsam

I was suggested this website by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my problem.

You're incredible! Thanks!

Review my web site; Tall Zira'a

I do not know if it's just me or if everybody else encountering

issues with your blog. It appears like some of the text on your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them as well?

This might be a problem with my browser because I've had this happen previously.

Many thanks

Also visit my web site Tallebudgera Valley

I'm amazed, I have to admit. Rarely do I come across

a blog that's both equally educative and interesting, and without a doubt,

you've hit the nail on the head. The problem is

an issue that not enough men and women are speaking intelligently about.

I am very happy I came across this Tallest Buildings In Riverside my hunt for something concerning this.

I like what you guys tend to be up too. This sort of clever

work and exposure! Keep up the excellent works guys I've added you

guys to our blogroll.

Feel free to surf to my page ... Taller de Arquitectura

Somebody necessarily lend a hand to make seriously posts I would state.

This is the first time I frequented your website page and to this point?

I amazed with the Shorter You Get

analysis you made to create this actual post extraordinary.

Excellent process!

I got this web page from my buddy who told me regarding this website and now this time I am visiting this

site and reading very informative content at this place.

Feel free to surf to my webpage Tayler Hill

Hi there just wanted to give you a quick heads up. The words in your article seem to

be running off the screen in Opera. I'm not sure if this is

a format issue or something to do with browser compatibility but I figured I'd post to let

you know. The style and design look great though!

Hope shoes that make you taller get the issue solved soon. Kudos

Asking questions are actually nice thing if you are not understanding something totally,

except this paragraph gives pleasant understanding yet.

My blog post ... Rubber

With havin so much content do you ever run into any issues of plagorism

or copyright infringement? My blog has a lot of unique content I've either created myself or outsourced

but it looks like a lot of it is popping it up all over the web without my authorization. Do you know any solutions to help prevent

content from being ripped off? I'd definitely appreciate it.

My web-site ... taller en ingles

Great blog here! Also your web site loads up fast!

What host are you using? Can I get your affiliate link to your host?

I wish my website loaded up as fast as yours lol

Also visit my web page ... Colorado

This design is steller! You most certainly know how to keep a reader amused.

Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Great job.

I really loved what you had to say, and more than that, how

you presented it. Too cool!

Here is my web site :: shoe lifts for men size 10

Amazing! This blog looks exactly like my old one! It's on a entirely different subject but it has

pretty much the same page layout and design. Great choice of colors!

Here is my blog post - Tallebudgera Post Office

Wow, superb blog format! How long have you been running a blog for?

you made running a blog look easy. The entire look of your site is excellent, as well as the content material!

Feel free to visit my web-site; Talley's Folly

Helpful information. Fortunate me I discovered your web site by accident, and I'm surprised why this

coincidence didn't came about in advance! I bookmarked it.

Here is my site Talley transmitting station

We stumbled over here from a different web page and thought I

should check things out. I like what I see so now i'm following you.

Look forward to looking into your web page again.

Also visit my page ... heel lifts insoles

I have been surfing online greater than three hours these days, yet I by no means discovered any fascinating article like yours.

It is pretty worth sufficient for me. Personally,

if all website owners and bloggers made good content as you did, the internet will be

a lot more useful than ever before.

my web blog ... taller mecanico

Howdy, There's no doubt that your blog could possibly be having

web browser compatibility issues. Whenever I take a look at your blog in Safari, it looks

fine however, if opening in I.E., it's got some overlapping issues.

I just wanted to provide you with a quick heads up!

Other than that, great website!

my blog ... taller pills

Hello There. I discovered your weblog using msn. That is a very smartly written article.

I will be sure to bookmark it and return to learn extra of your

helpful info. Thank you for the post. I will definitely

return.

Here is my blog post; choc

Oldalak

Új hozzászólás

Filtered HTML

  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • Engedélyezett HTML jelölők: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.

Plain text

  • A HTML jelölők használata nem megengedett.
  • A webcímek és email címek automatikusan kattintható hivatkozásokká alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
Ezt a mezöt ember.fia nem.tölti ki.
CAPTCHA
Ez a művelet azért szükséges, mert nem szeretnék kéretlen bejegyzéseket az oldalra.
Kép CAPTCHA
Írd be a képen látható karaktereket. Köszönöm.