Linux-Ubuntu U sticker

U disk use

1. Insert the U disk into the USB port and type in the root directory

sudo fdisk -l

The following results are detected, you can see the U disk number when sdb1

Insert picture description here

2. Create a folder USB in mnt or media (display the contents of the U disk after mounting)

cd mnt
sudo mkdir usb 

3. Mount the U disk

#若U盘格式是FAT32
mount -t vfat /dev/sdb1 /mnt/usb
#若U盘格式是NTFS
mount -t nfs /dev/sdb1 /mnt/usb

4. After completing the above 1-3, you can basically see the contents of the U disk under the USB.
5. Uninstall the U disk

sudo umount /mnt/usb/

Guess you like

Origin blog.csdn.net/qq_37697566/article/details/105334241