Question: 1) (3 points) Write a single line UNIX command to list all C files matching the multiple conditions below: at directory /home/exam2 . filename starting

1) (3 points) Write a single line UNIX command to list all C files matching the multiple conditions below: at directory "/home/exam2" . filename starting with T' or 't' The length of filename (excluding .c) is at least 3 2) (2 points) Write a single line UNIX command to add the directory "/home/exam2" into the PATH variable 3) (2 points) In order to let a shell script run using Bourne shell, what command we should write in that shell script. 4) (2 points) Write a single line UNIX command to store the names of all the C files located at parent directory into a text file Clist.txt 5) (2 points) Write a single line UNIX command to run an executable C program testC at background and mail the output to email addres 6) (2 points) Write a single line UNIX command to output the returned value of last command 7) (2 points) In the format string %6.21f, explain the meaning of 6, 2 and If respectively. And what will be printed for expression 123.345 with this format string? 8) (3 points) Rewrite the following loop so that its body is empty for (i = 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
