Question 7Asked in UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)

In Unix, the login prompt can be changed by changing the contents of the file _____

  1. AContrab
  2. BInit
  3. CGettydefs
  4. DInittab
Show answerHide answer

Correct answer: (C) Gettydefs

Explanation

The gettydefs file supplies the getty command with information about various terminal attributes, such as the default initialization and the login message. (i) There is nothing like contrab in Unix. (ii) The inittab file controls what happens whenever a Unix system is rebooted or forced to change run levels. (iii) init (short for initialization) is the first process started during booting of the computer system.

From UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions)

This is question 7 of UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.