What will be the output of the script based on this input?

View the Exhibit.

The shell script is executed using the default shell interpreter with the input as w. What will be the
output of the script based on this input?

View the Exhibit.

The shell script is executed using the default shell interpreter with the input as w. What will be the
output of the script based on this input?

A.
It will print the current date and time.

B.
It will list all the currently logged in users.

C.
It will show that the input is not a valid option.

D.
It will print the currently logged in users, current date, and time.

E.
It will not show any result because the case block is terminated with an esac.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *