adplus-dvertising
frame-decoration

Question

A file x is created with the following contents

echo today is:
date

If you type x.then

a.

It echoes the message. followed by date.

b.

It gives the desired output only if the execute permission of file x is set.

c.

The desired output can be got by the command sh x. which works even if x has its execute permission not set.

d.

Both (b) and (c)

Posted under UNIX

Answer: (d).Both (b) and (c)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A file x is created with the following contents echo today is: date If you type x.then