Display disk partition sizes

lsblk --json | jq -c '.blockdevices[]|[.name,.size]'
Use lsbk (list block) and jq (to manipulate a JSON on the command line) to display partition information:
Sample Output

By: mikhail
2021-12-22 22:31:07

1 Alternatives + Submit Alt

What Others Think

A circular saw uses a rotating motion revolving around an arbor to cut various wood, plastic, and metal materials. Because the woodworking sector generates a lot of wood dust, circular saws with vacuum dust collection are preferable. This technology can make your job simpler by reducing the irritating dust that collects on your cutting track. It is also beneficial for your health and the environment, aside from making it easier to clean up your workspace. circular saw
methewbarker45 · 3 weeks and 4 days ago
If you’re into these tools then by now, you already know the quality of DEWALT products but if you don’t know about them then let me tell you that they are one of the best companies out there if not the best when it comes to machinery. Now, if you’re looking for a quality tool then it is time you should get the best DEWALT impact driver right away because their high quality & top-notch flawless performance is what satisfies their customers and keeping them at the top from years. visit
methewbarker45 · 3 weeks and 4 days ago
Your blog has attracted a lot of real interest. I can see why because you did a great job making it interesting. I appreciate your efforts very much. among us 2
cocacola899 · 3 weeks and 3 days ago
https://medical-phd.blogspot.com/ https://ma-study.blogspot.com/
medicalphd · 3 weeks ago
We dedicate our lives to the breeding of munchkin cats for sale and Scottish fold kittens for sale for any family who is caring and loving who needs to add our beautiful fur babies to their lives. Munchkin kitten
Jr123456789 · 3 weeks ago
I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website five nights at freddy's
fnafgm · 3 weeks ago
True People Search, a fast people search online solftware for long lost friends and relatives. Search truepeoplesearch to find details of them. true people search
hiknigarde · 2 weeks and 4 days ago
Simple yet helpful command line. Thanks for this. By the way, please click here if you're looking for professionals to clean your commercial space's air conditioning ducts in Mesa, AZ.
gdunn · 2 weeks and 4 days ago
I was very encouraged to find this site. The reason being that this is such an informative post. I wanted to thank you for this informative analysis of the subject. I definitely loved every little bit of it and I shared your website to some of the biggest social networks so others can find your blog. and to let everybody to know these information as well. Please continue posting this kind of news so that most of the people will have a knowledge about what is in the news today... tilingsunshinecoast.com.au/tiles-removal/
johnlead · 2 weeks and 4 days ago
One of the biggest secrets we try to keep is a sense of autonomy and pride. The idea or feeling that you are important in some special way, that you are loved by a special person, that somebody is giving you special attention, these are some of the ego’s very subtle secrets. We are trying to hide our Divine Self and are playing all these different games, which seem to be very upsetting. It is pretty depressing and it really doesn’t go anywhere, so we try to get scraps of special love, attention and recognition to prop ourselves up. acim audio
hiknigarde · 2 weeks and 1 day ago
I was suggested this website by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble. You’re wonderful! Thanks! blowjob
wenilak444 · 2 weeks and 1 day ago
Good Post, I am a big believer in placing comments on weblogs to help the blog writers know that they’ve added something advantageous to the world wide web! ????????
wenilak444 · 2 weeks and 1 day ago
Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. ????????
wenilak444 · 2 weeks ago
I’m having a small problem. I’m unable to subscribe to your rss feed for some reason. I’m using google reader by the way. ????????
wenilak444 · 2 weeks ago
You’ve made various nice points there. I did specific search terms around the matter and found mainly individuals will believe your site ????????
wenilak444 · 2 weeks ago
dreaming after all, is a form of planning. so plan on and check this link out tulsa guitar lessons
TamaraYeo · 1 week and 6 days ago
Fascinating topic. I would love to discuss this topic. Hope you will have more good articles. infected days
cocacola899 · 1 week and 2 days ago
Fascinating topic. I would love to discuss this topic. Hope you will have more good articles. infected days
cocacola899 · 1 week and 2 days ago
https://magictruffles-magicmushoorms.com/product/psilocybe-azurescens/ https://magictruffles-magicmushoorms.com/product/thai-mushrooms/ https://magictruffles-magicmushoorms.com/product/psilocybe-cubensis/ https://magictruffles-magicmushoorms.com/product/albino-penis-envy-mushrooms/ https://magictruffles-magicmushoorms.com/product/buy-golden-teacher-mushrooms-online/ https://magictruffles-magicmushoorms.com/product/bulk-truffles/
oxycodonehcl · 1 week and 1 day ago
Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject? Orange County DUI Attorney Hit And Run Attorney Suspended License Attorney
SEOBallia · 5 hours 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: