Question: 1 . Start Netbeans and open the project at coe 6 2 8 / lab 2 / labla 2 . It should compile and

1. Start Netbeans and open the project at "coe628/lab2/labla"2. It should compile and run.3.(NOTE: if you are running Windows or MAC OS X (or another version of Linux)4. Modify the body of the main function so that it has the following behaviour: It prints a string in the form "greeting person".Version 1.0.2(January 26,2016)COE 628(Operating Systems)Lab 2(2017)Page 3 of 5 The greeting is Hello (by default) or Bye if the program is invoked with a command that ends in the string bye If there is exactly one argument to the command main should return 0(zero) as the exit code. Otherwise, it should return 1 if there are no arguments and 2 if there is more than one argument.Once compiled, the executable is placed in the project's Debug directory and is called lab2a.Make links (or "aliases") of that command using the following shell commands:In labza golbye

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!