systemd

service文件放
ls /lib/systemd/system/

查看所有启动的服务
systemctl list-units -t service

查看启动失败的服务
systemctl --failed --type=service

禁用按键重启
ls -l /lib/systemd/system/ctrl-alt-del.target
systemctl mask ctrl-alt-del.targe

linux系统启动流程
systemd-analyze blame

ubuntu 查看文件属于那个包
root@server01:~# dpkg -S /boot/vmlinuz-5.15.0-73-generic
linux-image-5.15.0-73-generic: /boot/vmlinuz-5.15.0-73-generic

linux-image-5.15.0-73-generic 包

rocky
rpm -qf /boot/vmlinuz-4.18.0-477.10.1.el8_8.x86_64

你可能感兴趣的:(linux,运维,服务器)