Linux中的常用命令
2025-4-4
| 2025-4-5
Words 89Read Time 1 min
type
status
date
slug
summary
tags
category
icon
password

一、关机、重启、登录和注销

shutdown -h now 立刻进行关机
shutdown -h 1 一分钟之后关机
shutdown -r now 现在重启
halt 关机
reboot 重启
sync 把内存的数据同步到磁盘
su - root 切换到root用户
logout 注销-root用户会切换到普通用户,普通用户则会关机
 
  • 运维
  • Spring中的注入使用Spring的生命周期
    Loading...