Files
linux-wiki/content/linux 入门/第一章/1.6.md
2021-10-21 14:57:58 +08:00

44 lines
1.1 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#1.6### systemd 服务管理
1. dmesg 显示内核启动日志
2. systemd-analyze 启动时间
3. systemctl 服务管理
1. systemctl poweroff 关机
2. systemctl reboot 重启
3. systemctl suspend 挂起
4. systemctl hibernate 休眠
5. /lib/systemd/system
6. /etc/systemd/system
7. 服务文件
8. 目标文件
4. journalctl 查看日志
5. systemd-cgls 跟踪启动过程
6. lsmod 列出内核模块
7. modinfo 模块信息
8. 常见端口:
1. 80www
2. 25smtp
3. 20ftp-data
4. 21ftp
5. 23telnet
6. 143 imap2
7. 110pop3
8. 389ldap
9. 443https
10. 465ssmtp
11. 989ftps-data
12. 990ftps
13. 992telnets
14. 993imaps
15. 995pop3s
16. 636ldaps
11. rsyslog 日志后台守护进程
12. crontab 计划任务
1. /etc/cron.daily/
2. /var/spool/cron/crontabs/user
3. /etc/cron.allow
4. @daily @yearly @monthly @ weekly @hourly @reboot
5. 分 时 日 月 星期 账号 命令
1. a-b 区间
2. a-b/c 间隔
3. `*` 任意