Use USB flash drives in Linux

Source: Internet
Author: User
Use a USB flash drive in Linux-general Linux technology-Linux technology and application information. For details, refer to the following. Using USB flash drives and MP3 in Windows is not unfamiliar to some friends, and it is a common thing, using USB flash drives and MP3 in Linux is not easy for new Linux users. I have encountered such problems when I first came into contact with Linux, and I am confused, now I will share my learning experience with you. You can learn and make progress together. If you have any good things, share them together.

1. # cd/mnt
# Mkdri usb

2. Insert a USB flash drive
Run the fdisk-l command to check the device. in Linux, the USB flash disk is usually recognized as a scsi device, rather than an ide device. If the USB flash disk is recognized as/dev/sda1.

3. mount a USB flash drive
# Mount/dev/sda1/mnt/usb-o codepage = 936, iocharset = cp936

4. Use ls to view the USB flash disk content
# Ls

5. Run out to uninstall the USB flash drive.
# Cd ~
# Umount/mnt/usb

Ha, that's easy. You can use a USB flash drive with just a few pieces of code.
Related Article

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.