The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-07-2007
ravi raj kumar ravi raj kumar is offline
Registered User
  
 

Join Date: Dec 2006
Location: hyderabad
Posts: 102
dos_from_unix

Hi,
Is it possible to access a file stored in dos drive say 'c:/' from shell prompt.
The situation is i have to copy a file from dos to unix directory.

if it is possible then how?
cheers
RRK
  #2 (permalink)  
Old 02-07-2007
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Moderator
  
 

Join Date: Nov 2004
Location: Bahrain
Posts: 579
Quote:
Originally Posted by ravi raj kumar
Hi,
Is it possible to access a file stored in dos drive say 'c:/' from shell prompt.
The situation is i have to copy a file from dos to unix directory.

if it is possible then how?
cheers
RRK
Do you want to transfer files from Dos to UNIX? use ftp.
  #3 (permalink)  
Old 02-07-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,957
Seems,

The OP is interested in mounting a Windows FS to make it accessible via unix

  #4 (permalink)  
Old 02-07-2007
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Moderator
  
 

Join Date: Nov 2004
Location: Bahrain
Posts: 579
Quote:
Originally Posted by matrixmadhan
Seems,

The OP is interested in mounting a Windows FS to make it accessible via unix

Perhaps, OP can confirm that only I just wanted to let him shout with a hint of ftp if he wants something else.

Cheers
  #5 (permalink)  
Old 02-07-2007
Crazy_murli Crazy_murli is offline
Registered User
  
 

Join Date: Jun 2006
Location: UK
Posts: 26
If its to mount the windows share, you may use the below :

1) Make sure you have samba client installed on the Unix box, and the smb service is running

2) Run smbmount & mount the windows shared folder in unix box as below

smbmount //serverip/sharenameonwindowsbox /mountpoint -o username=testuser,workgroup=domainname,uid=localuserid,ip=windowsserverip

3) Now, you will have the windows share available on the linux box to play.

Hope this helps !!!

Cheers, Murli.
  #6 (permalink)  
Old 02-08-2007
Create Create is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 22
when you say "dos drive" do you mean this is on a drive sitting around somewhere? or is this in a system that is actually on a network?

if it is just a drive then you can not FTP, or mount it through a samba share. You will have to go about it other ways.

easiest way would be to get it running on a box that can read it and just FTP stuff you nead...
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0