linux快速体验
目录结构
/ 根目录(只有文件夹)
/bin 二进制
/boot linux启动相关的文件
/dev 设备相关的文件
/etc 配置文件
/home
/lib 库文件
/root root用户的家
/sbin 二进制文件
/tmp 临时文件目录
命令的执行
模式的切换
- init 3 切换到字符界面
- init 5 切换到图形界面
热键
- tab 自动补全
- ctrl+c 终止程序
- ctrl+D 推出字符界面
用户与用户组
cat etc/passwd
root:x:0:0:root:/root:/bin/bash
cat etc/grop