type
status
date
slug
summary
tags
category
icon
password
Linux入门与虚拟机虚拟机快照(相当于存档)目录结构表示/Linux的命令基础ls命令(参数可以组合使用)ls参数 -a ls参数 -lls参数 -h(看文件大小,和l组合使用)cd和pwd命令cd命令 change directory 切换工作目录pwd命令 print work directory 验证当前工作目录,打印出来相对路径、绝对路径、特殊路径

Linux入门与虚拟机

账号:raoxiuyu
密码:123456
 
使用虚拟机VMware(市面上Linux流行的版本有CentOS和Ubuntu两种)
使用FinalShell和虚拟机连接,使我们在windows当中直接使用(相当于联网)
 
终端输入命令:ifconfig 得到ip地址 在FinalShell当中配置就可以连接
 

虚拟机快照(相当于存档)

放置系统崩溃,好恢复之前的状态
notion image

目录结构表示/

使用/斜杠表示目录,顶级目录为/
 

Linux的命令

基础

格式
notion image
 

ls命令(参数可以组合使用)

ls查看home目录有哪些文件夹。
notion image
notion image

ls参数 -a

a表示all 可以列出隐藏文件夹
notion image

ls参数 -l

l表示列line
notion image
notion image

ls参数 -h(看文件大小,和l组合使用)

可以看出文件的大小
 
notion image

cd和pwd命令

cd命令 change directory 切换工作目录

notion image

pwd命令 print work directory 验证当前工作目录,打印出来

notion image
 
 

相对路径、绝对路径、特殊路径

notion image