Compute newest kernel version from Makefile on Torvalds' git repository

wget -qO - https://raw.githubusercontent.com/torvalds/linux/master/Makefile | head -n5 | grep -E '\ \=\ [0-9]{1,}' | cut -d' ' -f3 | tr '\n' '.' | sed -e "s/\.$//"
Get newest kernel version by parsing the most bleeding-edge Makefile possible. Useful for doing things like writing live ebuilds and/or self-updating PKGBUILDs for testing purposes. Breakdown: * wget -qO - https://raw.githubusercontent.com/torvalds/linux/master/Makefile — retrieve Makefile and pipe to stdout * head -n5 — only the first 5 lines are relevant, that's where all the version variables are grep -E '\ \=\ [0-9]{1,}' — version variables always have an equals sign followed by a number * cut -d' ' -f3 — extract the individual numbers from the version variables * tr '\n' '.' — replace newlines with periods * sed -e "s/\.$// — remove trailing period
Sample Output
5.12.0

What Others Think

I am Tech blogger. I have 7 years of experience as SEO specialist. I have been accepting paid guest posts in my technology blog Web Tech Mantra. If anyone interested contact with me. We are accepting unique articles only. Our niches technology, mobiles, software, trends, security, computers, android, iOS, digital marketing, SEO, Business, etc. 13377x proxy
vyshu · 26 weeks ago
It is very interesting for me to know about new things and information programming languages from here. I thought it will be a new things for you to get these type of post from here. Get to know about it. gia diamond verification
zaiyamariya · 25 weeks and 6 days ago
Great post! I didn’t knowral of these resources and I’m going to go check them out now! subway surfers
jonesrebecca · 25 weeks and 6 days ago
Need academic help? I like the writing service at Writepaperforme, there are good prices and paper quality. Check also Writepaperforme reviews to get more facts about them.
LizaFlores · 25 weeks and 6 days ago
This is so far the best command in few days and also on your site as ping always being too distracting for everyone. http://wativ.com/promo-codes/omio.com/">omio coupon code will keep this ping in its another online booking & surely use this command.
wativ · 25 weeks and 5 days ago
omio
wativ · 25 weeks and 5 days ago
You made some clear commands there. I did a search on the commands and found most people will go along with with your blog... Boat Coloring Pages
muneerahmed · 25 weeks and 4 days ago
It has a Latin American fiesta theme with symbols including a bull piñata, a donkey piñata, a dog piñata, a rose, a sombrero and more. The slots game features wild symbols, scatters, a bonus round and free spins. ? ??????
dtaqpl7045 · 25 weeks and 2 days ago
Pain past is pleasure. https://www.thearticlesreview.com
fallbaby · 24 weeks and 2 days ago
e-commerce website Thanks for your sharing,That's pretty cool.
fallbaby · 24 weeks and 2 days ago
so excited to try this marriagecounselingsandiegoca.com
geebranz · 23 weeks and 6 days ago
Unique code. How is it working? From Jeff at https://www.woodstockguttercleaners.com
JeffreyJohnson · 23 weeks and 5 days ago
Makefile worked for me jcpenney associate kisok
sayyadali · 23 weeks ago
If you are pondering over what color your website's background should be, don't be afraid to go with a simple, effective white and web design company. Viewers will feel confident in the professional look provided by the solid white background. Complex backgrounds can make pages unreadable and give your site an amateurish appearance. You will find that simpler backgrounds are better.
anusharehan · 22 weeks and 6 days ago
As you have already seen, today the field of nanoparticles is experiencing a great expansion in terms of scientific research thanks to its potential to be used in sectors such as medicine textile materials, electricity, cosmetics, or optics, among other areas.
anusharehan · 22 weeks and 6 days ago
Notfallwiederherstellung und Geschäftskontinuität definieren, wie eine Organisation auf einen Cybersicherheitsvorfall oder ein anderes Ereignis reagiert, das den Verlust von Vorgängen oder Daten verursacht. Disaster Recovery-Richtlinien legen fest, wie die Organisation ihre Vorgänge und Informationen wiederherstellt Cyber notfall, um zur gleichen Betriebskapazität wie vor dem Ereignis zurückzukehren. Business Continuity ist der Plan, auf den die Organisation zurückgreift, wenn sie versucht, ohne bestimmte Ressourcen zu arbeiten.
anusharehan · 22 weeks and 6 days ago
Webdesigner, die versuchen, einen Webhosting-Dienst auszuwählen, sollten sich vor jedem Dienst in Acht nehmen, der behauptet, über unbegrenzte Bandbreite zu verfügen. Es gibt keine unbegrenzte Bandbreite und sie versuchen möglicherweise nur Flutter app, Sie dazu zu bringen, mit ihnen zu unterschreiben. Lesen Sie unbedingt alle guten Artikel!
anusharehan · 22 weeks and 6 days ago
Keeping your weight on the right diet does more than make you feel good, it has also been shown to reduce the risk of cancer Book Pcr Test. A healthy lifestyle that includes enough water, fresh vegetables and fruits and 30 minutes a day of healthy exercise will not only help protect you from cancer, but it will help you live your best life.
anusharehan · 22 weeks and 6 days ago
Bring clothing that is suitable for travel. This means items that you can wash and dry in the hotel room, and that won't wrinkle from being air-dried. Also, remember that you can buy clothing as you go, and it will most likely be more suitable to the climate and culture of the area. Check Here: Taxi From Gatwick
markellis · 22 weeks and 1 day ago
Keep a record of all the repairs you make on your vehicle. If further issues develop later, the mechanic may want to see the historical documentation of what has already been done. If you do not have the records, you might end up paying more for the mechanic to poke around trying to find the source of the trouble. Check Here: Brake Replacement Weybridge
markellis · 22 weeks and 1 day ago
If a website is not secure, do not make a purchase. Simply look up at the web address when you are shopping. If you notice an "https" instead of an "http," you can feel confident enough to insert your credit card information. However, if there is no "s" in the address, move on to a different site to be on the safe side. If you are looking to Buy Cheap Electric Scooter UK Online Check it out here.
markellis · 22 weeks and 1 day ago
Do not download any apps unless you know they are from a trusted source. Anybody can make an app and sell it. Sometimes, there are trackers or other undesired things within them. Knowing that the person or company is reputable will reduce the chance of you getting a virus or tracker in your phone. Check Here: app agentur
markellis · 22 weeks and 1 day ago
Nothing is more fun than watching your child play with a toy you've gifted them. Cuddoll produce [url=https://cuddoll.com/product-category/dolls-and-animals/]handmade dolls and animals[/url] that make unique gifts for newborns, baby girls, and Kids. We made all products from high-quality materials and organic cotton
cuddoll · 22 weeks and 1 day ago
Nothing is more fun than watching your child play with a toy you've gifted them. Cuddoll produce Hand Puppets and animals that make unique gifts for newborns, baby girls, and Kids. We made all products from high-quality materials and organic cotton
cuddoll · 22 weeks and 1 day ago
Search for property in Pakistan with Property Marina. Gulberg city center lahore is the best place to search for property in the capital of Punjab Lahore. A great investment opportunity because the city has attracted Students and investors.
cuddoll · 22 weeks and 1 day ago
The future dynamics are leading Web Design company Abu Dhabi offer a full range of digital and creative services including Web design, Mobile App development, e-commerce, and more to help you digitize your dream.
futuredynamic · 21 weeks and 6 days ago
Check the reviews and consider after-market accessories for your gaming. Controllers and other accessories can be costly, which can prevent many people from buying them. Surprisingly, there are some great third party companies that make quality accessories. Do some research to ensure you are finding the best deal for your money. Check Here: Best Gaming Setup
markellis · 21 weeks and 6 days ago
A single mattress or twin mattress is usually 39 inches wide and 75 inches long. 75 inches can be shorter than many adults require, in that case, a longer mattress XL can be purchased. Be aware of height when choosing your single mattress. semi truck mattress
kenwood · 21 weeks and 1 day ago
my love for this article can't make me stay without commenting, its really great to have a great thought like this in this world, if i should rate, then i will give it 5 stars even if it was for salemorphine sulfate tramadol 50mg price
healthcare · 20 weeks and 1 day ago
Property 90 Degree Real Estate Agents in Pakistan. Sell commercial and residential properties in Lahore, Project Detail, Gulberg City Center Lahore | Union Luxury Apartments | Icon Valley Phase 2 | Signature By Icon For More Information: Call us +923006399969
property90drgree · 20 weeks and 1 day ago
?Get all Satta King Results and Record Chart on Sattakingrecords.com. And check new Satta Game Updates, Satta King, Satta Record Chart, Satta King 2021, Sattaking UP Results, Disawar Satta Result, Ghaziabad Satta Chart, Faridabad Satta King Result, Satta King 2019, & more. We are providing superfast Satta King Results so everyone needs to visit our website who wants to see today's Satta Result.? Satta King Sattaking
sattakingrecords · 19 weeks and 4 days ago
Whether you like professional football, basketball, baseball, soccer, tennis, or college sports, one of these services has you covered. Let’s kickoff, jump ball, and serve into this! Just visit vipbox and get free sport streaming
kopijoni · 19 weeks and 4 days ago
I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article. Speechelo
seomind12 · 19 weeks and 4 days ago
Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link to this instead if thats cool. Thanks. Canva
seomind12 · 19 weeks and 4 days ago
Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. Canva Review
seomind12 · 19 weeks and 4 days ago
After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article. Grammarly Review
seomind12 · 19 weeks and 4 days ago
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog Engine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it. Grammarly
seomind12 · 19 weeks and 4 days ago
Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. Soulmate Sketch
seomind12 · 19 weeks and 2 days ago
it's really cool blog. Linking is very useful thing.you have really helped Soulmate Sketch Review
seomind12 · 19 weeks and 2 days ago
it's really cool blog. Linking is very useful thing.you have really helped Soulmate Sketch Review
seomind12 · 19 weeks and 2 days ago
Thank you so much for ding the impressive job here, everyone will surely like your post. Master Wang Soulmate Drawing
seomind12 · 19 weeks and 2 days ago
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog Engine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it. Master Wang Soulmate Drawing Review
seomind12 · 19 weeks and 2 days ago
Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Shop House of Dereon
seomind12 · 19 weeks ago
It is perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I desire to suggest you few interesting things or tips. Perhaps you could write next articles referring to this article. I want to read more things about it! Tom Papers
seomind12 · 19 weeks ago
I am hoping the same best effort from you in the future as well. In fact your creative writing skills has inspired me. Top Jock
seomind12 · 19 weeks ago
I have bookmarked your website because this site contains valuable information in it. I am really happy with articles quality and presentation. Thanks a lot for keeping great stuff. I am very much thankful for this site. Internet Gossip
seomind12 · 19 weeks ago
Really impressed! Everything is very open and very clear clarification of issues. It contains truly facts. Your website is very valuable. Thanks for sharing. Brown County Speedway
seomind12 · 19 weeks ago
Thanks for the informative and helpful post, obviously in your blog everything is good.. http://www.atascocitacomputers.com/">Computers In Atascocita
seomind12 · 19 weeks ago
I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job Gadsden Business College
seomind12 · 19 weeks ago
I think this is a standout amongst the most critical data for me. What"s more, i"m happy perusing your article. Be that as it may, ought to comment on some broad things Paper Internet
seomind · 19 weeks ago
Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Woodstock Business Awards
seomind12 · 19 weeks ago
I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! Computer Repair Worcester
seomind · 19 weeks ago
Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. Web Design Nova Costia
seomind12 · 19 weeks ago
Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do http://www.acquiringbusiness4good.com/">Acquiring Good Business Plan
seomind · 19 weeks ago
I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. Web Design Ru
seomind · 19 weeks ago
You have done a amazing job with you website http://www.2020democrats.org/">2020 Democrats
seomind12 · 19 weeks ago
Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Computer Books
seomind · 19 weeks ago
This is really interesting! Thanks for the updates! Sam | hvacpros.nyc
vassist960 · 18 weeks and 5 days ago
Your post is very helpful to get some effective tips to reduce weight properly. You have shared various nice photos of the same. I would like to thank you for sharing these tips. Surely I will try this at home. Keep updating more simple tips like this. Copyscape Alternative
adviseseo · 18 weeks and 3 days ago
I admire this article for its well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Systeme.io Review
adviseseo · 18 weeks and 3 days ago
I have gone through many articles regarding this topic but didn’t get true information. After reading this article I finally got my solutions. I am very much thankful to you for this article. Bookmarking your site. Now I will regularly read your blogs for sure. Thanks for the wonderful article. Sqribble Review
adviseseo · 18 weeks and 3 days ago
I'm impressed, I must say. Very rarely do I come across a blog that's both informative and entertaining, and let me tell you, you've hit the nail on the head. Your blog is important. Doodle Maker Review
adviseseo · 18 weeks and 3 days ago
I'm constantly searching on the internet for posts that will help me. Too much is clearly to learn about this. I believe you created good quality items in Functions also. Keep working, congrats! Zapable Review
adviseseo · 18 weeks and 3 days ago
The only real middleman company that does not only market your products and services but also offers SEO, content writing, link building, website development and a lot more named as marketing1on1. Indeed all they offer is quality. So don't hesitate to buy their service for your site or something else.
seomind12 · 17 weeks and 5 days ago
Wondering if there's a link resource pointing to this new computation. Anyway, great share, and please check out airanddryerventcleaningscottsdale.com/ if you need quality air duct cleaning for your home ducts in Scottsdale.
gshelton · 14 weeks ago
The leading source for trustworthy and timely health and medical news and information. nembutal kaufen ohne rezept
robinjack · 11 weeks and 3 days ago
Rocket Hosting offers hosting services for websites and applications of different sizes. There are plans for those just starting out and who want to publish their first website, as is the case with the Starter plan. Rocket.net Review
adviseseo · 11 weeks and 2 days ago
It proved being really helpful to me and Im positive to all of the commenters right here! Its constantly nice when you can not only be informed, but also entertained! I am certain you had enjoyable writing this write-up. Leadpages Review
bynext · 9 weeks and 4 days ago
This is a fantastic website and I can not recommend you guys enough. LandingCube Review Took me time to understand all of the comments, but I seriously enjoyed the write-up.
bynext · 9 weeks and 4 days ago
I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed GrooveFunnels Review Cool stuff you have and you keep overhaul every one of us
bynext · 9 weeks and 4 days ago
We are a reputed property service provider in Toronto and do not charge a service fee. Book your fully furnished student accommodation Toronto at discounted prices. We have hundreds of studios near top universities in Toronto. Contact now for early bird offers.
bladesteve · 9 weeks and 3 days ago
I enjoy it for creating the details, keep up the truly amazing perform continuing ???????
seomind · 7 weeks and 5 days ago
I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read !! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. griffiths electrodynamics solutions
seomind12 · 5 weeks and 5 days ago
I would like to create this thread in order to share my personal experience. I'm not quite good at coding nevertheless, some skills that I got with the help of the source where everyone can buy term papers online https://specialessays.com/buy-a-term-paper-online/ thanks to them I develop my skills as a programmer and as a writer. I hope my info will be important for others as well.
stacycolin · 5 weeks and 2 days ago
Technology write for us : Guest Posting is an excellent opportunity to improve your online visibility and branding. We Accept quality guest posts in Technology, Marketing, Business, Gadgets & Mobile Apps niche. You can write for us technology guest articles.
henrynicholas · 5 weeks and 1 day ago
If you are searching for a healthy, natural and nutritional product to boost your energy and improve endurance then Maca Booty XXL
kenwood · 3 weeks and 2 days ago
The idea of loft conversions began in the United States in New York's Soho district during the 1960's. Artists began to create residential spaces in the upper parts of out-dated industrial buildings, even though at the time it was illegal to do so because these buildings were not zoned for residential purposes. http://www.spcads.co.uk/bricklaying-services.html">Bricklayer
kenwood · 3 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: