We can find the installed kernel version by executing the below command
rpm -qa | grep 'kernel'
Possible response could be-
abrt-addon-kerneloops-1.1.0-1.fc13.i686
kernel-2.6.33.3-85.fc13.i686
grep [options] PATTERN [FILE
Example:If I wanted to find the word "Name" in the file info.txt we can form the grep command as belowgrep Name ./info.txt
If you want to know the line number just add the option -n.
The above command is modified as below.grep -n Name ./info.txt