Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to copy files to USB disk in Linux system

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to copy files to a USB disk in the Linux system, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Everything is treated as files in Linux. If you need to copy files in linux system, you need to mount the USB flash drive to a location in the system first, and then use the cp command to complete the copy.

The methods are as follows:

Insert the flash drive into the Linux computer and make sure the flash drive indicator is on

Enter the main interface of the Linux system and press Ctrl+Alt+T to open the command window

Get advanced user rights first

Enter the command: sudo-I

Enter the advanced user password after confirmation

First, use the fdisk-l command to see if the flash drive is identified and where the identified flash drive is located.

The location of USB flash drive in this access is / dev/Sdb4

Enter the command to mount the flash drive: mount / dev/sdb4 / mnt

The USB flash drive is mounted successfully after entering the car.

Continue to enter: cd enter, you can view the files under the flash drive

Now copy the 1.png file on the desktop to the USB drive

Enter the command: cp / home/user/desktop/1.png / mnt

Enter and wait for the replication to be completed.

After the copy is completed, you need to exit the USB flash drive.

Enter command: umount / mnt

The above is all the contents of the article "how to copy files to USB disk in Linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report