Question: PLEASE THIS SHOULD BE DONE USING UBUNTU TERMINAL many characters are contained in that file and display. See below steps for details. 1) Create a
PLEASE THIS SHOULD BE DONE USING UBUNTU TERMINAL

many characters are contained in that file and display. See below steps for details. 1) Create a file with any poem you like, save the file as poem.txt. The file should contain at least two hundred characters and should be located under /temp 2) Create a C code file fileRead.c which will do: a) Open poem.txt b) Read the file content using "read ()" system call c) Count how many characters in the text d) Display the text it read between parenthesis and display the total number of characters 3) Copy and paste the fileRead.c source code and the screen shot of the execution (Figure 3). Figure 2 shows an example of execution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
