Question: The IFS has the value set to a space character. A read command followed by echo $c is executed as: $read a b c; echo

The IFS has the value set to a space character. A read command followed by echo $c is executed as: $read a b c; echo $c Now, given that the input provided for read is : 1 3 5 7 9 What is the output of echo $c

? a. variable c is not defined

b. 5 7 9

c. No output (just blank)

d. It is an error

e. 5

When the variable a is assigned a value (could be a string), there is a difference between echo $a and echo ${a}.

a.

Only if the variable a contains another variable in it

b.

Only if the variable a contains a space character

c.

Only if the variable a contains a numerical variable

d.

No difference at all

After executing the following two commands

--- chmod 742 file ---

--- chmod o+x file ---

which of the following statements is true.

a.

Owner can read, write and execute, group can only read, others can write and execute but no read

b.

owner and group can read, write and execute, others can only write

c.

Owner and others can read and execute (no write), group can read and write (no execute)

d.

Owner can read and write but no execute, group can only read, others can only write

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Question 1 Output of echo c after read a b c is executed Given the input 1 3 5 7 9 The read command ... View full answer

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!