Home > Article > Operation and Maintenance > Check which services are enabled on Linux
Linux is a free-to-use and freely disseminated Unix-like operating system. It is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX and UNIX.
It can run major UNIX tool software, applications and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance. (Recommended learning: linux operation and maintenance)
1. View the services started by Linux
chkconfig --list 查询出所有当前运行的服务 chkconfig --list atd 查询atd服务的当前状态
2. Stop all services and download It will no longer start when the system starts, as shown below:
chkconfig --levels 12345 NetworkManager off
If you want to view the currently running services, use the following statement to filter them
chkconfig --list |grep on
3. If you just want the current setting status to be valid and not take effect after the system is restarted, you can use the following command to stop the service
service sshd stop
The above is the detailed content of Check which services are enabled on Linux. For more information, please follow other related articles on the PHP Chinese website!