西部开源学习笔记 运维unit 1

西部开源学习笔记unit1

Unit1

#虚拟机环境#

[westos@westos_student26 Desktop]$ westos-vmctl start westosa #打开虚拟机
[westos@westos_student26 Desktop]$ westos-vmctl view westosa #显示虚拟机
[westos@westos_student26 Desktop]$ westos-vmctl poweroff westosa #关闭虚拟机
[westos@westos_student26 Desktop]$ westos-vmctl reset westosa #格式化虚拟机
其中westos为当前用户身份
westos_student26 为主机名称
Desktop 为所在位置系统
$为身份提示符

#添加shell
1.ctrl+shift t or n
2.gnome-terminal

#关闭shell
ctrl+d

#取消命令执行
ctrl+c

#查找history
ctrl+r
history !数字
history !字符
history -c 清空历史记录

你可能感兴趣的:(linux,shell,运维)