Linux学习笔记_系统操作、优化相关命令复习(shutdown,reboot,yum)
2017-08-14 21:01
856 查看
关机
poweroff /直接关机
shutdown //系统1分钟后关闭(poweroff)
shutdown [NUM] //系统在参数设定的分钟数后关闭(poweroff)
shutdown -H //halt(系统关闭,主板未断电)
shutdown -h now //先halt再poweroff
shutdown -r //重启(reboot)
shutdown -k //只会发出关机提示信息,并不会真正关机(应用场景是??)
2.重启
shutdown -r
reboot
3.系统更新
yum update -y //无确认信息,默认yes
4.软件安装
yum install vim tree telnet dos2unix sysstat lrzsz nc nmap -y //推荐安装的软件包
-----------------------------------------------------------------------------------------------
http://www.cnblogs.com/summergarden/archive/2013/01/12/2857754.html
《reboot与shutdown -r now 区别与联系》
https://www.zhihu.com/question/22060662
《Linux 下 halt, poweroff, shutdown 有什么区别?》
----------------------------------------------------------------------------------------------
poweroff /直接关机
shutdown //系统1分钟后关闭(poweroff)
shutdown [NUM] //系统在参数设定的分钟数后关闭(poweroff)
shutdown -H //halt(系统关闭,主板未断电)
shutdown -h now //先halt再poweroff
shutdown -r //重启(reboot)
shutdown -k //只会发出关机提示信息,并不会真正关机(应用场景是??)
2.重启
shutdown -r
reboot
3.系统更新
yum update -y //无确认信息,默认yes
4.软件安装
yum install vim tree telnet dos2unix sysstat lrzsz nc nmap -y //推荐安装的软件包
-----------------------------------------------------------------------------------------------
http://www.cnblogs.com/summergarden/archive/2013/01/12/2857754.html
《reboot与shutdown -r now 区别与联系》
https://www.zhihu.com/question/22060662
《Linux 下 halt, poweroff, shutdown 有什么区别?》
----------------------------------------------------------------------------------------------
相关文章推荐
- Linux之ubuntu学习笔记(二):一些常用快捷键和相关命令来控制系统任务ctr+z,ctr+c,ctrl+d
- 【学习笔记】Linux基本操作(5)--- Linux系统常用命令
- 学习笔记----linux grub 相关操作
- Linux学习笔记之网络通信命令、系统关机、sehll应用技巧....
- linux学习笔记之基础操作及命令
- Linux学习笔记之 2 Linux系统的基本操作
- Linux学习笔记3_文件系统常用命令
- Linux学习笔记之——Linux系统内部相关介绍
- linux学习笔记3:系统命令
- 【学习笔记】Linux基本操作(1)--- 命令行BASH基本操作
- linux系统管理学习笔记之一-------linux解压缩命令
- 【学习笔记】Linux基本操作(2)--- Linux文件系统基本结构
- LINUX学习笔记1——LINUX系统命令
- 【学习笔记】Linux基本操作(4)--- Linux系统目录架构
- 七、Linux常用命令之系统操作篇(write、wall、ping、ifconfig、shutdown、reboot、alias、unalias、<、>、2>、|、``、mount)
- Linux 学习笔记_9_文件系统管理_2_文件系统管理命令及案例分析
- Linux学习笔记——常用文件操作命令
- Linux学习笔记——初级系统管理命令
- 我的Linux学习笔记1(文件操作常用命令)
- Linux学习笔记3——Linux中常用系统管理命令