![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how can i copy data in LINUX Machine to windows XP | bsandeep_80 | UNIX for Advanced & Expert Users | 2 | 03-27-2008 03:25 AM |
| A Tour of the Linux File System - Linux Magazine (subscription) | iBot | UNIX and Linux RSS News | 0 | 08-23-2007 08:20 AM |
| Sun's 'Project Copy Linux' not a Linux copy - Register | iBot | UNIX and Linux RSS News | 0 | 07-29-2007 02:31 AM |
| command for copy file from CD to Linux box | sam70 | UNIX for Dummies Questions & Answers | 2 | 08-08-2005 03:14 PM |
| Where can i get a copy of Unix or Linux? | gregtampa | Where do I download LINUX & UNIX? | 5 | 10-01-2000 08:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
linux, copy a:\file to /tmp in linux?
hi, i am on linux 8. i wanted to copy a file from my a:\filename to my linux 8 /tmp directroy. how do i do this or any directions as in how to accompilsh. thanks
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Re: linux, copy a:\file to /tmp in linux?
Quote:
Place floppy in the drive and issue the command: mount -t msdos /dev/fd0 /mnt/floppy Where /mnt/floppy is a pre-existing sub-dir. You don't have to use /mnt/floppy, it can be any sub-dir. Once you have done this, you can use cp like you normally would, ala: Code:
cp /mnt/floppy/myFile /tmp
__________________
Not quite as cool as all the other Kids... |
|
#3
|
||||
|
||||
|
See if you have mtools installed. This will allow you to use a command like:
doscp a:/text.file /home/mydir
__________________
FreeBSD - Opening computers from closed Windows |
|
#4
|
|||
|
|||
|
mount -t msdos /dev/fd0 /mnt/floppy
hi i issued the above and the floppy is mounted. however, i cant do any ls or cp. BUT, i did a simple mount /dev/fd0 /floppy and it works... the option -t <filesystem> is for more precise, advanced control.. i guess on my redhat 8.0, i did a mount -t iso9660 /dev/cdrom /cdrom to mount my cd... |
|
#5
|
||||
|
||||
|
Weird. It was a MS-DOS formatted floppy, right?
Oh well. If the Linux mount is smart enough to identify the filesystem automagically then that oughta be good enough.
__________________
Not quite as cool as all the other Kids... |
|
#6
|
||||
|
||||
|
By Linux 8, I assume you mean Redhat 8.
On my Redhat 7.3 box, I have the following line in my /etc/fstab: Quote:
|
|
#7
|
|||
|
|||
|
you can use Mtools
mcopy a:\file /tmp but you might have to mcopy a:file /tmp because the \ might f it up
__________________
[url=http://www.juxtapresentations.com][img]http://members.rogers.com/juxtapresentations.com/myfooter.gif[/img][/url] [url=www.urbanfocus.ca]Novice Photography Showcase[/url] |
|||
| Google The UNIX and Linux Forums |