GkSeries.com

Unix Multiple Choice Interview Questions and Answers | Page-3

(11) In awk, -v option is used to specify
[A] assign value to the variable var
[B] pattern ending with v
[C] file containing awk script
[D] field separator in record

Comment

Answer: Option [A]
(12) The following display information of a file represents:

Irwxrwxrwx 1 root 1200 March 12, 2001 abc

[A] socket file
[B] ordinary file
[C] ordinary directory
[D] link file/directory

Comment

Answer: Option [D]
(13) tail+8, file1>file2 causes to
[A] copy top 8 lines of the file1 to file2
[B] remove top 8 lines of the file1 and copies remaining contents of the file1 to file2
[C] copy all lines except top 7 line in the file1 to file2
[D] none of these above

Comment

Answer: Option [C]
(14) What is the run level to halt & power off the UNIX system ?
[A] init 0
[B] init 2
[C] init 5
[D] init 4

Comment

Answer: Option [A]
(15) What is the task of the UNIX operating system ?
[A] Provides a link between the system components and applications
[B] Provides a link between the kernel and applications
[C] Provides a link between the user and applications
[D] Provides a link between the user and the System

Comment

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