美文网首页
Linux 关机重启登陆注销

Linux 关机重启登陆注销

作者: 金石_832e | 来源:发表于2019-10-11 10:28 被阅读0次

关机重启

shutdown指令

  • shutdown -h now :表示立即关机
  • shutdown -h 1:表示1分钟后关机
  • shutdown -r now:表示立即重启

halt指令

  • 直接使用,效果等价于关机

reboot指令

  • 直接使用,效果等价于重启

logout指令

  • 注销

sync指令

  • 把内存中的数据同步到磁盘上

在关机或重启系统前,都应该执行sync指令,把内存中的数据写入磁盘,防止数据丢失!!!


登陆注销

注意:在登录时不建议直接用root用户直接进行登录,而是登录普通用户进行操作,当权限不足时,通过su - 用户名指令切换到root用户,操作后再exit指令注销重新登录到普通用户!!!

相关文章

  • Linux 关机重启登陆注销

    关机重启 shutdown指令shutdown -h now :表示立即关机shutdown -h 1:表示1分钟...

  • Linux常用命令

    Linux常用命令 一、常用命令 1.注销、关机、重启 2.linux基本命令 :文件操作命令 3.linux 系...

  • Linux命令集锦

    记录Linux常用命令,感兴趣的留下小脚印了 Linux常用命令 重启关机和注销[https://mp.weixi...

  • Linux每日一小时学习笔记

    9月27日 关机重启注销 关机和重启 shutdown -h now 立即关机 shutdown -h 1 一分钟...

  • 2.Linux 基础

    关机和重启命令 不管是重启系统还是关闭系统,首先要运行sync命令,把内存中的数据写到磁盘中 用户登陆和注销 登录...

  • Linux命令整理

    基本操作Linux关机,重启# 关机 shutdown -h now # 重启 shutdown -r now 查...

  • linux关机、重启和用户登录注销

    1. 关机&重启命令 1.1基本介绍shutdownshutdown -h now :表示立即关机shutdown...

  • 关机重启注销命令

    poweroff 关机shutdown -h now 立即关机shutdown -h 1 1分钟以后关机shutd...

  • Linux常用命令

    关机/重启/注销 常用命令作用shutdown -h now即刻关机shutdown -h 1010分钟后关机sh...

  • 常用Linux命令大全

    关机/重启/注销 常用命令作用shutdown -h now即刻关机shutdown -h 1010分钟后关机sh...

网友评论

      本文标题:Linux 关机重启登陆注销

      本文链接:https://www.haomeiwen.com/subject/vsftmctx.html