非凡云 发表于 前天 16:11

linux 系统维护命令


[*]​​shutdown​​:关机/重启(shutdown -h now 立即关机)
[*]​​reboot​​:重启系统
[*]​​crontab​​:定时任务管理(-e 编辑任务)
[*]​​systemctl​​:管理系统服务(如 systemctl start nginx)
[*]​​journalctl​​:查看systemd日志(-u 按服务筛选)
[*]​​mount​​ / ​​umount​​:挂载/卸载文件系统
[*]​​fdisk​​ / ​​parted​​:磁盘分区工具
[*]​​lsblk​​:列出块设备信息(磁盘/分区)
[*]​​blkid​​:显示块设备UUID
[*]​​alias​​:设置命令别名(如 alias ll='ls -l')
[*]​​history​​:查看命令历史记录
[*]​​man​​:查看命令手册(如 man ls)
[*]​​which​​ / ​​whereis​​:查找命令路径
[*]​​gcc​​:C/C++编译器
[*]​​make​​:代码编译管理

ishuo 发表于 前天 22:50

可以可以 科普 不错 对我这种小白太有帮助了
页: [1]
查看完整版本: linux 系统维护命令