Get the App
SLTechnology News&Howtos  ›  Development  › 

How to mount U disk quickly under Linux

Shulou Source: shulou.com Published: 2022-06-01 15:58:16 10月03日 Update

This article mainly introduces how to quickly mount a U disk under Linux. The article is very detailed and has a certain reference value. Interested friends must read it!

How to mount a flash drive under Linux? The method of mounting a USB disk in a Linux system is very simple.

1. Insert a flash drive

2. # sudo fdisk-l

View the mounted drive letter name as shown in the following figure, assuming that the drive letter name is sdc1

3. Set up an attached folder

# cd /

# mkdir / mnt

4. Mount the U disk

Mount our USB flash drive, namely / dev/sdc1, to / mnt

# mount / dev/sdc1 / mnt

5. Copy files

Copy the entire logs folder under our USB disk to the linux/usr directory (- r refers to multiple files under the operation folder)

# cp-r / mnt/logs / usr/

6. Uninstall the USB disk

# umount / dev/sd1

Or # umount / mnt

The above is all the contents of the article "how to quickly mount a USB disk under Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Documents folders contents names articles values interests multiple guys partners methods more catalogs knowledge systems industry information information channels channels references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Docker Shulou Technology Shulou Information vpn