Link to home
Start Free TrialLog in
Avatar of bryanord
bryanord

asked on

unix copy command help

I am struggling with some basic unix commands.  I am working with a unix based server and i need to copy a file from the server to my windows pc.  Both devices are on the network.

doing a unix command "ls" i get the following text file:

[CiscoLMS/root-ade CSCOpx]#ls
Output_Config_solaris_SSH2.txt

i am wanting the command to copy this file to my windows c drive.  My windows pc ip address is:  172.26.26.207 (msjmjywfy27483)


i have tried the following with no success:
cp Output_Config_solaris_SSH2.txt \\msjmjywfy27483\c$\Output_Config_solaris_SSH2.txt


thanks!
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

You can not copy to another machine unless you mount the C drive on windows as a share.
Here is an example of how to mount a windows share on linux/unix:

http://www.howtogeek.com/wiki/Mount_a_Windows_Shared_Folder_on_Linux_with_Samba
The other way is to start an ftp server on unix and with windows client you can get it
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bryanord
bryanord

ASKER

thanks.  i used winscp.