If the user of an Ubuntu or Linux Mint machine has an Nvidia card, and the proprietary drivers are installed, then it is very easy to get information about their graphics card from the terminal.
This simple one-liner will use awk to print the 4th 5th and 6th column of text in the output from grep. This allows the user to only return the exact information that is needed.
4.4 Tue Jan 22 jason@Yog-Sothoth 0: $ nvidia-settings -g | grep "renderer string:" | awk '{print $4,$5,$6}' GeForce GTX 1050/PCIe/SSE2 |
Get the drivers version string this way.
4.4 Tue Jan 22 jason@Yog-Sothoth 0: $ nvidia-settings -g | grep "OpenGL version string:" | awk '{print $4,$5,$6}' 4.6.0 NVIDIA 390.77 |
This is a very useful way to get information about your Nvidia graphics card.
Some more very useful ways here.