Which of the following file scan be used to set the default runlevel of a Linux system?
  1. /etc/inittab
  2. /etc/runlevel.conf
  3. /etc/init.conf
  4. /etc/sysconfig/init
Explanation
Answer - A - You can use the /etc/inittab file to set the default runlevel of a Linux system.

Key Takeaway: The default runlevel for a system to boot to and stop is configured in /etc/inittab. You can configure more than one runlevel. To change the runlevel, change the second value in the command to the default runlevel you want to use. After saving the file and rebooting, the system would boot into the new runlevel.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz