☰
GkSeries.com
āœ•

Unix Multiple Choice Interview Questions and Answers | Page-2

(6) In cat man 2>eman, 2>tells
[A] redirect the man to eman
[B] redirect the file with file descriptor 2 to eman
[C] redirect the content of man and 2 to eman
[D] None of the above

Comment

Answer: Option [D]
(7) csh
[A] is known as the C shell
[B] begins by executing commands from .cshrc
[C] invokes a shell command interpreter
[D] all of these above

Comment

Answer: Option [D]
(8) What command shows file system disk usage ?
[A] du
[B] df
[C] ls
[D] chkdsk

Comment

Answer: Option [A]
(9) Which of the following commands is used to monitor disk input and output on a UNIX system ?
[A] Sar
[B] iostat
[C] nfsstat
[D] vmstat

Comment

Answer: Option [B]
(10) Refer to the following example of sed

#sed -n ā€˜2, 5, p’ file1

What contents of the file1 will be selected and displayed ?

[A] only line 2 and 3 of the file1
[B] lines 2 through 5
[C] all lines except 2 and 5
[D] all lines except 2 through 5

Comment

Answer: Option [B]
Click Here to Read more questions