adplus-dvertising
frame-decoration

Question

Which file is used for indicating terminals?

a.

/dev/tty

b.

/dev/null

c.

terminal file

d.

device file

Posted under UNIX

Answer: (a)./dev/tty

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which file is used for indicating terminals?

Similar Questions

Discover Related MCQs

Q. Which symbol is used to connect different streams?

Q. Shell enables one or more arguments to be obtained from the standard output of another command. This feature is called _________

Q. What will the result when we evaluate this statement?

$ directory=’pwd’=`pwd`

Q. Which of the following is not a system defined variable?

Q. Which of the following is an invalid variable?

Q. Command substitution requires the command to use ________

Q. The command is valid.

$ ls -lRa $HOME > home.ls

Q. The UNIX shell is both _______ and _______ language.

Q. Which of the following function(s) are performed by an interactive shell?

Q. Every feature used in an interactive shell can also be used by a shell script.

Q. Which one of the following is arguably the best shell to use?

Q. Which one of the following command is used to create a child shell?

Q. Shell variables are of ____ types.

Q. Suppose ABD_DIR is a local variable. Then it will be accessible to the child process.

Q. ____ command is used to display the environment variables only.

Q. Which symbol is used for setting the PS1 prompt to show the current event number?

Q. set command by default displays the variables in the current shell.

Q. Which one of the following keyword is used with the set command to avoid overwrite existing file?

Q. To prevent accident logging out, we can use ____ as a keyword with the set command.

Q. Which of the following features of UNIX may be used for inter process communication?