Linux关机与重启命令
2016-03-09 16:05
363 查看
1.shutdown命令
[root@localhost ~]# shutdown [选项] 时间选项:
-c:取消前一个关机命令
-h:关机
-r:重启
2.其他关机命令
[root@localhost ~]# halt
[root@localhost ~]# poweroff
[root@localhost ~]# init 0尽量是用shutdown
3.其他重启命令
[root@localhost ~]# reboot
[root@localhost ~]# init 6尽量使用shutdown
4.系统运行级别
0:关机1:单用户
2:不完全多用户,不含NFS服务
3:完全多用户
4:未分配
5:图形界面
6:重启
5.退出登录命令
[root@localhost ~]# logout
相关文章推荐
- Red Hat Enterprise linux 7与linxu6命令的变化,运行级别,多ip网卡配置,nmtui功能的使用及说明
- linux tar 解压命令总结
- Linux下C程序的编辑,编译和运行以及调试
- C#与linux 时间戳互转
- linux第9天 UDP
- RedHat系统下安装CentOS系统的yum
- 那些年掉进的坑---内存踩踏实例记录
- CentOS 6 配置公共key认证服务
- CentOS6.3编译安装 Erlang 和 RabbitMQ3.4.3
- Linux基础之Vi编辑器快捷键
- 3G模块(U6300)linux下拨号上网
- linux7的网卡命名机制,名称组成格式;
- Linux下简单线程池的实现
- Ubuntu 14.04安装搜狗拼音linux版应该注意的问题
- Linux查看设备被哪个进程占用
- .Net Core CLI在CentOS7的安装及使用简介
- linux下修改MAC地址方法
- C/C++ makefile自动生成工具(comake2,autotools,linux),希望能为开源做点微薄的贡献!
- 为Linux新增静态路由以便用户手工配置
- centos7 下GPRS-Modem 短信猫配置以及发送短信调试说明