I've tried many version of this but none of them work.I want to compare variable - here it'll be version of os, with some string. I want to check if it is bigger than indicated version. When I pass exact name it is just fine, but when I want to replace something with .* it doesn't work.
if [[ "$(uname -r)" == '3\.18.*' ]];
then echo bravo;
fi
how to make it work? thanks in advance