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_so laris_SSH2 .txt
thanks!
doing a unix command "ls" i get the following text file:
[CiscoLMS/root-ade CSCOpx]#ls
Output_Config_solaris_SSH2
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
thanks!
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks. i used winscp.