1.文件与目录操作
nautilus . #打开文件管理界面
在终端中复制粘贴代码
CTRL+SHIFT+C
CTRL+SHIFT+V
ls 查询列表
ls /home
ls -a /home 详细文件,包含隐藏文件
ls -l /home 详细信息,包括文件的所有者,同理可用命令ls -al
du 查看目录及目录下各文件的大小
du /home/data/
cd 定位到某个路径下
cd /home
cd .. 返回上一级目录
cd / 切换到根目录
cd - 回上一次所在的目录
pwd 查看当前路径
mkdir 新建目录
mkdir filename
mkdir /path_to_file/filename #以此建立子目录
touch 新建文件
touch filename.txt #后面的