![]() |
|
|
|
|
|||||||
| 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 |
| DOS/Windows CR to a UNIX LF 17 MB text file | tex | Windows & DOS: Issues & Discussions | 9 | 05-21-2008 09:31 PM |
| Shell script to search for text in a file and copy file | imeadows | UNIX for Dummies Questions & Answers | 8 | 04-20-2008 01:41 PM |
| I want to copy the text output from a 'nohup.out' file. | Iamthe great | UNIX for Dummies Questions & Answers | 3 | 05-01-2007 09:41 AM |
| Automatic Copy of File Contents to Clipboard | ilak1008 | Shell Programming and Scripting | 5 | 10-10-2006 08:43 AM |
| how to remove ^M from windows text file in unix | pragy1999 | Shell Programming and Scripting | 1 | 04-13-2006 07:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Copy text from a file from VI editor to Windows clipboard
Copy text from a file from VI editor to Windows clipboard,
I mean copy entire file in vi editor to notepad. |
| Forum Sponsor | ||
|
|
|
|||
|
From windows use command prompt and do telnet to the unix system.
display the contents using cat. to copy the contents of the file right click on command prompt and open properties. select quick edit mode in edit options and select ok. select the contents of the file using mouse and press enter. now the text is in your windows clipboard. if the file is too large then ftp the file to your system. |
|
|||
|
You can highlight the text in PuTTy and that should copy the data to your clipboard. Then just paste it into notepad. As far as the entire file goes, I think you would have to highlight it all with your mouse. I don't believe you can copy the file to your windows clipboard using 'vi' on the remote machine.
|
|
|||
|
using mailx
or you could simply forward the whole file to your mailbox (in windows or anywhere you have your email client) -using this unix command "more {filename} | mailx {you@email.tld}" - of course larger files are not surgested to mail forward (100 MB+). Are the file(s) that big FTP transfer are also my surgestion to you.
Hope you make it work |
|
|||
|
Code:
You can highlight the text in PuTTy and that should copy the data to your clipboard. Code:
using this unix command "more {filename} | mailx {you@email.tld}"
What happened? |
|||
| Google The UNIX and Linux Forums |