Question: Please Write a BASH script that displays the version of gcc running on the machine - in which you are executing the script. (Do not

Please  Please Write a BASH script that displays the version of gcc

Write a BASH script that displays the version of gcc running on the machine - in which you are executing the script. (Do not use the command gcc -dumpversion). Your script should generate the same output as in the "gcc -dumpversion" command. Please name your script "problem3.sh

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!