1.什么是linux?
1.linux 是linux的内核(kernel);
2.操作系统其实是linux 的内核+GNU(GNU is not UNIX)/linux
2.什么是shell?
1.shell是一个解释器;
2.shell是保护内核不被篡改的软件;
3.shell有很多版本,系统默认的的是bash.
3.在shell中怎么执行命令?
1.命令必须在行提示符之后输入;
2.当行提示符被占用是,ctrl+c可以结束当前任务从而释放行提示符;
3.格式:命令+空格+参数+空格+对象
命令即程序
参数即程序指定的某种功能
对象即操作的目标
4.行提示符的含义
[[email protected] Desktop]$
kiosk #表shell运行的人是谁
foundation0 # shell启动主机的主机名称
Desktop #当前所在位置
$ #用户身份级别,$表普通用户(student),#表超级用户(root)
4.虚拟机的使用
启动 : [[email protected] Desktop]$rht-vmctl start desktop
可视化: [[email protected] Desktop]$rht-vmctl view desktop
关闭: [[email protected] Desktop]$rht-vmctl stop desktop
[[email protected] Desktop]$rht-vmctl poweroff desktop
重置: [[email protected] Desktop]$rht-vmctl reset desktop
备注:当以超级用户的身份删除boot 以后,可以reset 即重置虚拟机就可以回到初始状态
登陆:
1.student(普通用户) password( student):不能对系统进行修改;
普通用户在虚拟机shell中行提示符为[[email protected] Desktop]$
2.Not list-root(超级用户) password(red-hat):可以修改系统参数.
超级用户在虚拟机shell中行提示符为[[email protected] Desktop]#
logout 可以实现普通用户和超级用户的切换
设置语言 : Applications -System Tools-Settings-Region and Languages
文本编辑: gedit