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

Right here is the perfect blog for anyone who hopes to

understand this topic. You realize so much its almost hard to argue with

you (not that I really will need to…HaHa).

You definitely put a fresh spin on a subject that's

been discussed for decades. Wonderful stuff, just great!

My site; Tally stick

you're truly a excellent webmaster. The website loading pace is incredible.

It kind of feels that you're doing any distinctive trick.

Furthermore, The contents are masterwork. you've done a wonderful task in this matter!

Stop by my web blog ... taller than me

Hi there everyone, it's my first go to see at this website, and piece

of writing is in fact fruitful in support of me,

keep up posting these types of articles or reviews.

Here is my web site :: Teller County

Simply want to say your article is as astounding. The clarity in your post is just

spectacular and i could assume you're an expert on this subject.

Fine with your permission let me to grab your feed to keep up to date with forthcoming post.

Thanks a million and please continue the gratifying work.

My web page :: taller borda

Hey there! I've been reading your website for some time now and finally got the courage to go ahead and give

you a shout out from Atascocita Texas! Just wanted to say keep up the excellent job!

my homepage T. Allen Lawson

Sweet blog! I found it while browsing on Yahoo News.

Do you have any suggestions on how to get listed in Yahoo News?

I've been trying for a while but I never seem to get there!

Appreciate it

Here is my homepage: shoe lifts canada

May I just say what a comfort to uncover somebody who actually knows what they're talking about online.

You definitely understand how to bring a problem to light and make it important.

More and more people need to read this and understand this side of the

story. It's surprising you're not more popular since you most certainly have The Tallest Man on Earth gift.

This is i wish i was a little bit taller topic which

is close to my heart... Cheers! Exactly where are your contact

details though?

Hey there I am so happy I found your webpage, I really found you by error, while I was browsing on Digg for something else, Nonetheless I am here now and would just like to say cheers for a remarkable post and a all round enjoyable blog (I also love the theme/design), I

don’t have time to read through it all at the minute but I have book-marked it and also included your

RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic jo.

My website :: alex campos al taller del maestro

I savour, cause I found exactly what I used to be looking taller shoes for men.

You have ended my 4 day long hunt! God Bless you man. Have a nice day.

Bye

Hmm is anyone else encountering problems with the pictures on this blog loading?

I'm trying to find out if its a problem on my

end or if it's the blog. Any suggestions would be greatly appreciated.

My web page ... heel liftsi ?

Thank you a lot for sharing this with all

people you actually know what you're speaking approximately!

Bookmarked. Please additionally seek advice from my web site =).

We may have a link trade arrangement between us

Look into my page :: womens shoe lifts

Keep this going please, great job!

Here is my web site - get taller

I loved as much as you'll receive carried out right here.

The sketch is tasteful, your authored material

stylish. nonetheless, you command get bought an shakiness

over that you wish be delivering the following.

unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you

shield this increase.

my blog ... how to grow taller

Hello! I could have sworn I've visited this website before

but after browsing through some of the posts I realized it's new where to buy shoe lifts

me. Nonetheless, I'm certainly pleased I discovered it and I'll be book-marking it and checking

back frequently!

Fine way of describing, and nice post to get data about my presentation topic, which

i am going to convey in college.

my weblog; Talley transmitting station

Do you have a spam issue on this website; I also am a blogger, and I was curious about your situation; many of us have created some nice methods and we are looking to exchange methods with others, why not shoot me

an e-mail if interested.

Here is my blog :: Plastic

This post is worth everyone's attention. How can I find out more?

My web page - Tallgrass Beef Company

I used to be recommended this web site via my cousin. I am not sure whether taller or shorter not this put

up is written by him as no one else understand such certain approximately my difficulty.

You're wonderful! Thank you!

Hi there to all, how is the whole thing, I think every one is

getting more from this website, and your views are pleasant designed for new

visitors.

Also visit my web blog: shoe lifts kmart

Definitely believe that which you stated. Your favorite justification seemed

to be on the net the easiest thing to be aware of. I say to you, I certainly get annoyed while people think

about worries that they just do not know about. You managed to hit the nail upon the top

and defined out the whole thing without having side-effects ,

people could take a signal. Will probably be back to get more.

Thanks

My blog post Talluri Rameshwari

Excellent post! We will be linking to this particularly great post on our

site. Keep up the good writing.

my web blog; heel lifts insoles

I enjoy what you guys tend to be up too. This sort of clever work and reporting!

Keep up the great works guys I've incorporated you guys to my own blogroll.

My site; Rubber

Hello to all, how is the whole thing, I think every one is getting more from this web site, and

your views are pleasant for new people.

My site: Talleres de Perico

Hi there! Someone in my Myspace group shared this site with us so I came to

give it a look. I'm definitely loving the information. I'm book-marking and will

be tweeting this to my followers! Outstanding blog and excellent design and

style.

Feel free to surf to my web page ... heel lifts for achilles tendonitis

When someone writes an paragraph he/she retains the image of a

user in his/her brain that how younger 21 days to a foam roller physique user can be aware

of it. Thus that's why this paragraph is great. Thanks!

Hey there just wanted to give you a brief heads up and let you know a few of the images aren't loading

correctly. I'm not sure why but I think its a linking issue.

I've tried it in two different browsers and both show

the same outcome.

Here is my homepage - herman

Hello my family member! I want to say that this post is awesome, nice written and come with approximately all significant infos.

I would like younger 21 days to a foam roller physique

see extra posts like this .

This blog was... how do I say it? Relevant!! Finally I've found something which helped me.

Cheers!

My web site: heel lifts achilles tendon rupture

I know this if off topic but I'm looking into starting my own blog and was wondering what all is required to get

set up? I'm assuming having a blog like yours would cost a pretty penny?

I'm not very internet smart so I'm not 100% sure. Any recommendations or

advice would be greatly appreciated. Thank you

Review my webpage: chocolate

Link exchange is nothing else but it is just placing the other person's website link on your page at

appropriate place and other person will also do same in favor of you.

Feel free to visit my website: Tallebudgera

What's up, just wanted to tell you, I loved this

article. It was helpful. Keep on posting!

My blog ... Stronger

Informative article, just what I needed.

Take a look at my weblog :: alex campos al taller del maestro

It's very trouble-free to find out any topic on web as compared to books, as I found this

piece of writing at this web site.

my web site - talleres de cordoba

Quality content is the secret to be a focus for the visitors to pay

a quick visit the web page, that's what this web site is providing.

Also visit my webpage :: Talker

I savour, lead to I found exactly what I was having a look heel lifts for toe walking.

You have ended my 4 day lengthy hunt! God Bless you man. Have a

great day. Bye

Hi! I know this is kinda off topic but I was wondering which blog platform are you using for this site?

I'm getting tired of Wordpress because I've had problems with hackers and

I'm looking at alternatives for another platform. I would be fantastic if you could point me in the direction of a

good platform.

Feel free to surf to my blog post taller industrial

Hi there! This post could not be written any better! Looking through this post reminds me Tale of Ragnar's Sons my previous roommate!

He constantly kept preaching about this. I will send

this information to him. Pretty sure he's going to have a great read.

Many thanks for sharing!

Greetings! Very helpful advice in this particular post!

It's the little changes that will make the most significant changes.

Many thanks for sharing!

Also visit my blog ... grow taller

It is really a nice and useful piece of info. I am glad that you simply

shared this helpful info with us. Please stay us up to

date like this. Thanks for sharing.

My website ... Teller County

It's an amazing paragraph for all the online

viewers; they will obtain benefit from it I am sure.

Review my webpage: heel lifts in boots

I'm impressed, I have to admit. Seldom do I encounter a

blog that's equally educative and engaging, and let me tell you,

you've hit the nail on the head. The issue is something not enough folks are

speaking intelligently about. I'm very happy I stumbled across this

in my search for something relating to this.

Feel free to visit my homepage - Taeler Hendrix

Very great post. I just stumbled upon your weblog and wished

to mention that I've truly enjoyed surfing around your weblog posts.

In any case I will be subscribing in your rss feed and I'm hoping you

write again soon!

Here is my page - heel lifts insoles

What's up, I check your blogs regularly. Your humoristic style is awesome, keep doing what you're doing!

my web page ... shoe lifts for kids

It's really very complicated in this full of activity life to

listen news on TV, therefore I simply use web for that reason, and

get the newest information.

Here is my blog ... taller than you mamamoo lyrics

Amazing blog! Is your theme custom made or did you download it from somewhere?

A design like yours with a few simple adjustements would

really make my blog shine. Please let me know where you

got your design. Cheers

My web blog: taller???

magnificent points altogether, you simply gained a new reader.

What would you suggest in regards to your post that you just made a few

days ago? Any positive?

My website; Rubber

I'm curious to find out what blog platform you are working with?

I'm experiencing some minor security problems with my latest site and I'd like to find

something more risk-free. Do you have any suggestions?

my web page ... taller ??

This design is steller! You certainly know how to keep a

reader entertained. 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!

Take a look at my web-site :: taller exercise

Howdy would you mind sharing which blog platform you're working with?

I'm looking to start my own blog in the near future but I'm having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal.

The reason I ask is because your design seems different then most blogs and I'm looking for something unique.

P.S Sorry for being off-topic but I had to ask!

Also visit my blog ... 3 inch shoe lifts

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.