see gcc version code example
Example: check gcc version in ubuntu
Option 1. Issue command “gcc –version” Example : ...
Option 2. Issue command “gcc -v” ...
Option 1. Issue command “gcc –version” Example : ...
Option 2. Issue command “gcc -v” ...