To mount a USB drive in Ubuntu, follow these steps:
- Insert the USB drive into the USB port of your Ubuntu computer.
- Open the file manager application on your Ubuntu desktop.
- Locate the USB drive in the left-hand sidebar of the file manager window.
- Click on the USB drive icon to open it.
- If the USB drive is not already mounted, you can mount it by right-clicking on the drive icon and selecting "Mount" from the context menu.
- Once the USB drive is mounted, you can access its contents by double-clicking on the drive icon in the file manager window.
If you prefer to use the command line, you can mount the USB drive using the following steps:
- Open a terminal window by pressing Ctrl+Alt+T.
- Type the command "sudo fdisk -l" (without the quotes) and press Enter. This will display a list of all the storage devices connected to your Ubuntu computer, including the USB drive.
- Identify the device name of the USB drive from the list. It will be listed as "/dev/sdb1" or similar.
- Type the command "sudo mount /dev/sdb1 /mnt" (without the quotes), replacing "/dev/sdb1" with the device name of your USB drive, and press Enter. This will mount the USB drive to the "/mnt" directory.
- Once the USB drive is mounted, you can access its contents by navigating to the "/mnt" directory in the terminal window.