Find out how much ram memory has your video (graphic) card

lspci|grep -i "VGA Compatible Controller"|cut -d' ' -f1|xargs lspci -v -s|grep ' prefetchable'
One liner is based on this article: https://www.computerhope.com/issues/ch001307.htm
Sample Output
$ lspci|grep -i "VGA Compatible Controller"|cut -d' ' -f1|xargs lspci -v -s|grep ' prefetchable'
        Memory at e0000000 (64-bit, prefetchable) [size=256M]

-3
By: knoppix5
2020-09-11 14:04:10

What Others Think

That does not show you the correct memory size.
joos2k · 1 week and 2 days ago
Hot Rats” was an impressive display of prog-rock, jazz fusion, and guitar work from Zappa. Let's get some of THAT along with a rippin' ... by article writing
followerscanda · 4 days ago
Hot Rats is the second solo album by Frank Zappa, released in October 1969. It was Zappa's first recording project after the dissolution of the original version of ... by romantic urdu poetry
followerscanda · 4 days ago
Hot Rats. Add to Custom List. Add to My Collection. AllMusic Rating. 9. User Ratings (1,928). Your Rating. Album Information ?; AllMusic Review ?; User ... by http://packersmoversinjaipur.com/">Packers and Movers in Jaipur
followerscanda · 4 days ago
Hi Everyone,. I'm working hard to learn the entire Hot Rats album. In fact, the whole band is! We are researching the audio details down to the DNA level as well. by best baby massage oil
followerscanda · 4 days ago
Care about what other people think and you will always be their prisoner.” – Lao Tzu. It is human nature to want to be liked and accepted. by Home Appliances Online Shopping India
followerscanda · 3 days 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: