Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

Find y'. y= |x + X (x) (x) X 1 02x+ 2x 1 O 2x + 1/3 Ex 2x +

Answered: 1 week ago