Home  >  Article  >  Operation and Maintenance  >  Check which services are enabled on Linux

Check which services are enabled on Linux

(*-*)浩
(*-*)浩Original
2019-11-04 10:23:115720browse

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

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!

Statement:
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
Previous article:What does $ mean in linuxNext article:What does $ mean in linux