What file should you examine to determine the defined
runlevels for your system?

Answers were Sorted based on User's Feedback



What file should you examine to determine the defined runlevels for your system?..

Answer / rajn

/etc/inittab

change this line to u r desired runlevel

id :X: initdefault

where X is ur runlevel eg: 3 ,5

Is This Answer Correct ?    13 Yes 0 No

What file should you examine to determine the defined runlevels for your system?..

Answer / k.vijaianand

try this

/etc/inittab

id:5:initdefault-


before booting it ask for the runlevel

Is This Answer Correct ?    5 Yes 0 No

What file should you examine to determine the defined runlevels for your system?..

Answer / rajn

/etc/initab

id:X:initdefault
X= runlevel eg: 3,5

Is This Answer Correct ?    6 Yes 2 No

What file should you examine to determine the defined runlevels for your system?..

Answer / shivmohanpatel ( e-tech softwa

/etc/inittab

id:X:initdefault

where X=runlevel (ex.0 to 6)
0 =system poweroff
1 = single user mode
2 = multiuser mode without network and X window
3 = multiuser mode with network without X window
4 = unused
5 = X11 (multiuser mode with network and X window
6 = reboot

Is This Answer Correct ?    4 Yes 0 No

What file should you examine to determine the defined runlevels for your system?..

Answer / s.v.d.malleswararao

/etc/inittab file . by using vi editor we can edit this
file,and we can set default runlevel for os.take care, while
defining runlevels in this file, we shouldn't use init 0 and
init 6

Is This Answer Correct ?    2 Yes 0 No

What file should you examine to determine the defined runlevels for your system?..

Answer / dayashankar prajapat

/etc/init.d/rc takes care of runlevel handling

runlevel 0 is System halt (Do not use this for
initdefault!)
runlevel 1 is Single user mode
runlevel 2 is Local multiuser without remote network
(e.g. NFS)
runlevel 3 is Full multiuser with network
runlevel 4 is Not used
runlevel 5 is Full multiuser with network and xdm
runlevel 6 is System reboot (Do not use this for
initdefault!)

Is This Answer Correct ?    1 Yes 0 No

What file should you examine to determine the defined runlevels for your system?..

Answer / raj

id:5:initdefault:


by the help of above mentioned line you can conclude that
your machine is in run level 5

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Linux AllOther Interview Questions

User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?

5 Answers   Oracle,


How to apply patch for multiple servers .

1 Answers   IBM,


I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i cannot create a new file since the filesystem is readonly and could not mount in readwrite mode ?????????

6 Answers   IBM,


Which directory is closer to the top of the file system tree, parent directory or current directory?

3 Answers  


What text filter can you use to display a binary file in octal numbers?

1 Answers  






What are RPM?s, what do they offer?

2 Answers  


Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


How to sort a file of size 2N bytes, if I have N bytes of memory?

2 Answers   Yahoo,


You want to create a compressed backup of the users' home directories. What utility should you use?

5 Answers  


What is the difference between Telnet and SSH?

17 Answers   Bayer, KTree,


there are many IPC mechanisms available in Linux ? Which one is best to use and when ?

1 Answers   Broadcom,


someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?

1 Answers  


Categories