ubuntu学习记录
记录Ubuntu的学习
权限开放
sudo -s
共享文件夹位置
cd /lscd mntlsvmhgfs-fuse /mnt/hgfs
进去文件就可以了
VMware的Ubuntu中通过共享文件夹向win
- 在 Ubuntu 中挂载共享文件夹
sudo mkdir /mnt/hgfssudo vmhgfs-fuse .host:/共享文件夹名称 /mnt/hgfs -o allow_other - 复制文件到共享文件夹
cp /path/to/your/file.txt /mnt/hgfs/
win传文件到Ubuntu
在Ubuntu中挂载共享文件夹
sudo mkdir /mnt/hgfssudo vmhgfs-fuse .host:/共享文件夹名称 /mnt/hgfs -o allow_other传输文件
ls /mnt/hgfs从共享文件夹中复制文件到Ubuntu系统
cp /mnt/hgfs/文件名 /home/yourusername/目标目录/


