adplus-dvertising
frame-decoration

Question

Which file descriptor is used to represent standard error stream?

a.

0

b.

1

c.

2

d.

3

Posted under UNIX

Answer: (c).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which file descriptor is used to represent standard error stream?

Similar Questions

Discover Related MCQs

Q. We can redirect the error message to file named newfile using __________ command.

Q. The category of commands which uses both standard input and standard output are called ____

Q. The contents of file001 are:

232
25*50

What will be the contents of result.txt?

bc < file001 > result.txt

Q. Which of the following files are known as special files in UNIX?

Q. The size of /dev/null is always zero.

Q. Which symbol is used to redirect error messages to /dev/null?

Q. Which file is used for indicating terminals?

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.