操作系统提供的服务

问题描述:

当我编辑,编译和运行程序时,我如何知道linux操作系统提供的服务?

是否有任何命令可以显示终端中的服务列表?

When I edit, compile, and run a program, how can I know the services provided by linux operating system?
Is there any command that can show the list of services in terminal?

chkconfig --list





可能会做你想要的。在我的机器上,它在/ sbin中(所以是/ sbin / chkconfig --list)。



might do what you want. On my machine it's in /sbin (so that's /sbin/chkconfig --list).

man chkconfig

将为您提供所需的所有细节(及更多)。

will give you all the detail you want (and more).