Check which services are enabled on Linux

(*-*)浩
Release: 2019-11-04 10:23:11
Original
5723 people have browsed it

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.

Check which services are enabled on Linux

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服务的当前状态
Copy after login

2. Stop all services and download It will no longer start when the system starts, as shown below:

chkconfig --levels 12345 NetworkManager off
Copy after login

If you want to view the currently running services, use the following statement to filter them

chkconfig --list |grep on
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template