Computer Science Fundamentals Operating Systems Objective
Mar 11, 2013

The command echo welcome > /dev / tty

Choose the correct answer:
A) Echoes welcome in all the terminals that are switched on.
B) Echoes welcome in all the terminals that are logged on.
C) Echoes welcome only in the terminal in which it is run.
D) a & c both
Detailed Explanation

/dev/tty is a synonym for the terminal you are currently using.
If echo welcome >/dev/tty, is a part of a shell. welcome will be echoed in the terminal in which the script is run, doesn't matter which terminal it is.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback