Question: Using the Ubuntu command line, we need to accomplish the following: 1. Go to the home directory. 2. Create a folder called foc. 3. Create
Using the Ubuntu command line, we need to accomplish the following: 1. Go to the home directory. 2. Create a folder called foc. 3. Create 2 files called: program.c and code.c inside the folder foc. 4. Open the file program.c using gedit. 5. Write any C code in it, then save the file and close it. 6. Compile the file program.c into a binary file called my_program. 7. Delete the file code.c. 8. Run the file my_program. Write the commands you will use to do the above points (except point 5 because there is no command for it). Submit all the commands in order (each command on a separate line) as an answer to this question.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
