$ dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'
i’ve been writing a bash script where i needed to query the installed version number of the nvidia driver when it’s not loaded. Unfortunately i have not found a easy way of doing this.
If i’m a stupid person, please enlighten me of a better way ;)
by David Winterbottom (codeinthehole.com)























0 Comments
You can be the first one to leave a comment.