Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Get Attractive Job

Unix Multiple Choice Interview Questions and Answers | Page-7

Questions
31 A file is removed from the disk if
A owner of the file deletes it
B count in the open file description table becomes zero
C reference count in its inode becomes zero
D none of the above

Answer: Option [C]
32 Several UNIX commands can be combined to generate a single command using:
A ;
B |
C :
D none of these

Answer: Option [B]
33 How do you change a foreground process into a background process ?
A The simplest way to start a background process is to add an ampersand (&) at the end of the command
B The simplest way to start a background process is to add an nice command at the beginning of the foreground process command
C The simplest way to start a background process is to add an ampersand (&) at the beginning of the foreground process command
D The simplest way to start a background process is to add fg command at the beginning of the foreground process command

Answer: Option [A]
34 Which of the following commands is used to show hidden files ?
A df
B ls-i
C ls-h
D ls-a

Answer: Option [D]
35 Which of the following commands can be used to change any of the system at run-level ?
A Power off
B init
C Halt
D Reboot

Answer: Option [B]

Useful Computer Science EBooks