Copy a file from Linux


 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Copy a file from Linux
# 22  
Old 07-27-2010
I work with small text files. Connect to solaris with putty.

here are some of the ways i do to transfer information:
  • use ftp
  • copy text from windows, open vi in putty and paste the text in
  • copy paste from putty into windows notepad
  • email the file from solaris to my windows email account

Hope these gave you some ideas on how to solve your issue
# 23  
Old 07-28-2010
Quote:
Originally Posted by Leion
I work with small text files. Connect to solaris with putty.
Good try.
The OP doesn't want to use any protocol, so smtp, ssh, and ftp is out of the question. As is http, rsync and rcp.

I'm not sure if this suggestion qualifies as not using a protocol (perhaps if no one is taking notes?), but You could always just move the hard disk from one computer to the other? Without looking in the manual?
</irony>

Smilie

/Lakris
# 24  
Old 07-29-2010
Have u tried with sftp ?
# 25  
Old 08-27-2010
You can use mc command, it is support ftp and NetBIOS.
# 26  
Old 08-30-2010
go for rcp man.....dont make the process complicated...
# 27  
Old 08-30-2010
When you say "copy a file" do you mean you want to copy one specific file one time or do you mean you have a reoccurring need to copy files?

Using scp is almost always the best option. It's secure, it's reliable and since you probably already have ssh set up, you probably don't need to set anything up that isn't already set up. If copying to/from windows you need to initiate the scp connection from an scp client (PuTTY is great) on the windows box for the no-need-to-set-anything-up claim to be true.

If you're trying to set up a regular automated copy, scp is still #1. You need to read up on using ssh keys for authentication. (Again the PuTTY manual is a good starting point if you're working from a windows perspective)

Other alternatives include putting the file on a web server, ftp server, smb server etc... but the conditions in which one of those would be better than scp are few. Could you tell us a little about why you don't want to use scp? Scp is the secure successor to rcp which is the remote version of cp, so I really think scp is what you want.
# 28  
Old 08-30-2010
use winscp.....its really cool
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to copy the directory but not copy certain file

Hi experts cp bin root src /mnt but not copy bin/bigfile any help? ( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum) Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies

2. IP Networking

Need to copy file from Linux to DOS.

I have two PCs with Ubuntu 10.4 and DOS 5.0, which are connected with a 9 pins serial cable. I need to copy some files from the Linux box to the DOS box. I tried UUCP but it's too difficult and i didn't found a working client for DOS. Can you help me? Thanks for any reply! (10 Replies)
Discussion started by: mghis
10 Replies

3. SuSE

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree (1 Reply)
Discussion started by: naree
1 Replies

4. Shell Programming and Scripting

I want to copy a file from Linux

Hi Experts, I want to copy a file from a Linux machine to another Linux machine or a windows machine shared drive. I mean to say.. cp filename //hostname/shareddrive. I don't want to mount. Is there any way we can do it. Regards Naree Double post. Replies here moved to... (0 Replies)
Discussion started by: naree
0 Replies

5. UNIX for Dummies Questions & Answers

copy and paste certain many lines of huge file in linux

Dear All, I am working with windoes OS but remote a linux machine. I wonder the way to copy an paste some part of a huge file in linux machine. the contain of file like as follow: ... dump annealling all custom 10 anneal_*.dat id type x y z q timestep 0.02 run 200000 Memory... (2 Replies)
Discussion started by: ariesto
2 Replies

6. UNIX for Dummies Questions & Answers

command for copy file from CD to Linux box

Hi , I have simple question as i am beginner , I have to copy one file from cd(compact disc) to my linux box on some directory. With which command and how can i do that? Thanks sam71 (2 Replies)
Discussion started by: sam70
2 Replies

7. UNIX for Dummies Questions & Answers

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 (6 Replies)
Discussion started by: yls177
6 Replies

8. Where do I download LINUX & UNIX?

Where can i get a copy of Unix or Linux?

where can i get a free copy of unix? any kind... (5 Replies)
Discussion started by: gregtampa
5 Replies
Login or Register to Ask a Question