Find the answer to your Linux question:
Results 1 to 9 of 9
Hi. I'm very much a novice when it comes to Linux. I have a machine with Fedora, and need to take a file from one machine to another via usb ...
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    6

    Question [SOLVED] help for newbie

    Hi. I'm very much a novice when it comes to Linux. I have a machine with Fedora, and need to take a file from one machine to another via usb stick. I need to know (in detail) how to go about this. Would anyone mind giving some directions please? (note that USB stick already works on both machines)
    I want to do this:

    copy (file) to (USB stick)
    then on the second machine
    copy (same file) from (USB stick) to (same directory as the first machine)

    I realise this may well be insufficient information to help, so please ask away if necessary!

    Many thanks
    Bythor

  2. #2
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Hello and Welcome!

    Actually... your question included the correct solution. Where are you running into the problem?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    6
    Jay, thanks for looking. I'm not sure what you mean by the correct solution. I know what it is I want to acheive, but don't know any linux commands other than cp which I got from a glossary. I don't know what linux calls the USB stick - I only know windows/dos type commands eg calling the stick another drive letter. Can you offer any suggestions?
    Bythor

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Plug in your USB stick, open a terminal, execute
    Code:
    fdisk -l
    That's a small L, not a 1.
    You'll see all of the drives attached to your computer, as well as the format (eg., NTFS, ext3).
    Most of the time, a thumb drive or other external USB drive will show as /dev/sdb1 or similar.
    You can either use you file manager, like Nautilus or Konqueror, to move files. Or you can do it with the cp command.

    Post the output of above command here for anything you have questions about.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  5. #5
    Just Joined!
    Join Date
    Sep 2008
    Posts
    10
    Note also "df" command which will also show filesystem mount-points (e.g. in /media), plus space used/remaining.
    Hope you've noticed to u(n)mount volume in File menu of Nautilus/file manager.
    ThankU to Jay for solving things above
    Last edited by yuaskme; 04-13-2010 at 04:22 PM. Reason: newb may not know about unmounting

  6. #6
    Just Joined!
    Join Date
    Sep 2005
    Posts
    6
    thanks again Jay, I think that's waht I needed - how to find what each drive is called! I'll let you know if I get stuck!
    Bythor

  7. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    6
    Haven't got it! I described it wrong - I want to copy a directory (not a file) onto my usb stick, then copy it into another machine. Help!

  8. #8
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    You should be able to do it just the same way as you would do a file.
    Example... should I be copying to a USB stick:
    Code:
    cp /path/name/to/file_name /sdb1/new/location
    Plug the stick into destination computer.

    From USB stick:
    Code:
    cp /sdb1/on/stick /actual/destination
    You'll have to determine the path and filenames on your particular machines.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  9. #9
    Just Joined!
    Join Date
    Sep 2005
    Posts
    6
    Jay, thanks again. Found the problem - I forgot I had to mount the USB stick!
    Wouldn;t have got there without you though - thanks again for your time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...