How to mount U disk in linux

王林
Release: 2020-05-15 15:18:21
Original
10662 people have browsed it

How to mount U disk in linux

The specific steps are as follows:

1. Log in as root user

Load the USB module first

modprobe usb-storage
Copy after login

Use fdisk -l to see Look at the U disk device.

Suppose the U disk is sda1.

2. Make sure the folder /usb_disk is created under the directory /mnt. If it is not created, execute the following command

mkdir /mnt /usb_disk
Copy after login

3. To mount the U disk, type the following command:

mount /dev/sda /mnt/usb_disk
Copy after login

After success, you can use the USB disk, and the file is in the directory /mnt/usb.

Recommended tutorial: linux tutorial

The above is the detailed content of How to mount U disk in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template