In Fedora Linux, you can list the services that run at boot time using the systemctl
command. The systemctl
command is used to control the system manager, which is responsible for starting and stopping services and managing the system’s state.
To list all services that start at boot time in Fedora, run the following command:
systemctl list-units --type=service --state=active
This will show you a list of all services that are currently active, including those that are started at boot time. The list will include information about the service name, load state, active state, and sub state.
To list only services that start at boot time, run the following command:
systemctl list-unit-files --type=service | grep enabled | awk '{print $1}'
This will show you a list of all services that are enabled to start at boot time, with one service per line. The grep
command is used to filter the output to only show services that are enabled, and the awk
command is used to extract the service name from each line.