Which command provides a simple interface for configuring runlevels?

Subh Singh
Invent the Future

In Linux, the ntsysv command provides a simple interface for configuring runlevels.

Configuring runlevels:

It means setting which services are enabled or disabled at different runlevels in Linux, so they run according to your requirements.

Command:

sudo ntsysv

Example:

If you want to configure services in Linux, you can use the following command.

sudo ntsysv

Output:

Services

[*] crond
[*] network
[ ] bluetooth
[*] sshd
[ ] cups

Here:

  • [*] indicates that the service is ON.
  • [ ] indicates that the service is OFF.

How to use:

  • Use the arrow keys to choose a service.
  • Press the Spacebar to turn it ON or OFF.
  • Press Enter to save your choice.