How Can I copy files from ubuntu server16.04 to a USB flash drive ?, Effectuserver16.04

Source: Internet
Author: User

How Can I copy files from ubuntu server16.04 to a USB flash drive ?, Effectuserver16.04
How Can I copy files from ubuntu server16.04 to a USB flash drive?

1. Insert the USB flash drive into the USB port on the machine with linux system, and search for the device file corresponding to the USB flash drive through dmesg, such as/dev/sdb1;

2. Mount the USB flash drive to the linux sub-drive, for example:

Mount/dev/sdb1/mnt

The USB flash disk is mapped to the/mnt directory;

3. Run the cp command to copy the file to/mnt. If the file I want to copy is/home/www/abc.zip, run the following command:

Cp/home/www/abc.zip/mnt/

In this case, the file abc.zip is copied to the root directory of the USB flash drive.

4. Run the following command to uninstall the USB flash drive:

Umount/mnt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.