Hi, i'm new to linux, so this may be a really silly question.
But i've got this linux system (Red hat)
and i have a usb stick with some files on it.
i want to basically plug in my usb stick into the linux box, and save the files from the usb stick onto a directory on the linux machine.
The problem is when i plug my usb stick into the linux box, how do i know where it is. i.e. where is that drive
for example in windows, when you plug in a usb memory stick, a new drive is created in the "My Computer" folder. then by clicking on the new drive you would have access to the files on the usb.
thanks in advance
I don't know, if your Red Hat mounts the USB Stick automaticly, but you can check:
Use the console (always a good idea) and type
This will list all mounted devices. If one of them is called "sda", "sda1", "sdb", "sdb1" or similar, it's probably allready mounted and it will tell you, where it is mounted to.
If it isn't mounted, first of all you'll have to find out, which device it is. Use
to list all "special devices". Your USB Stick will be one of them. Then you'll need a place to mount it to - normaly "/media/sda1" or "/mnt/sda1" (or equivalent). Create such a folder with
mkdir directory (you can of course create it anywhere you like)
.
Now you have to be root (or have root priviliges, e.g. with
sudo) - use:
-
mount /dev/sda1 -t auto /media/sda1
-
(replacing the device and directory with those aplicable.)
Done! You USB Stick should be mounted.