faqts : Computers : Operating Systems : Linux : Emulators : VMWare

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 85 people (6%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

VMWare: Linux: File: Transfer: Ftp: How transfer text information generated by programs to Windows?

Sep 18th, 2003 13:21
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 17 September 2003 - 11:57 pm ------------------

VMWare: Linux: File: Transfer: Ftp: How transfer text information 
generated by programs to Windows?

You often are checking things in Linux, e.g. in a window in your
Microsoft Windows XP operating system, and you want to quickly transfer
the text output from the different programs on that screen to your
Microsoft Windows XP host computer.

---

Steps: Overview:

 1. -Open a console, and keep this open, so that you quickly
     can send information from and to Microsoft Windows XP
     to Linux.

 2. -Use the redirect command to pipe the text output to a file

 3. -Send this file via ftp from Linux to Microsoft Windows XP

 4. -In Windows take this text file from the ftp shared directory
     and do something with it

---

Steps: Worked out:

 1. -Open a console, and keep this open, so that you quickly
     can send information from and to Microsoft Windows XP
     to Linux.

      right click on the desktop, and choose 'new terminal'

 2. -Use the redirect command to pipe the text output to a file:

      <your Linux command> ><your text file>

     ---

     e.g.

     to send the output of the 'lsmod' command to a text file, type:

      lsmod >/home/ddd

     ---

     e.g.

     to send a directory listing to a text file, type:

      dir >/home/ddd

     ---

     e.g.

     to send the man information about the command 'lsmod' to a text
     file, type:

      man lsmod >/home/ddd

 3. -Send this file via ftp from Linux to Microsoft Windows XP

      cd /home/ddd

      ftp 192.168.0.3

      login as anonymous

      send ddd

 4. -In Windows take this text file from the ftp shared directory
     and do something with it

---

Note: copying and pasting via the clipboard would be the easier method,
but until now I have not got this working between Linux and Microsoft
Windows XP (in VMWare v4.0 for Windows workstations).

---

Note: before I typed (so manually and time consuming) most of the
screen output which I thought was useful by hand over from Linux to
Microsoft Windows XP, but of course this is much more convenient, and
also quite a general method, general applicable.

---

Internet: see also:

http://www.faqts.com/knowledge_base/view.phtml/aid/24483/fid/107

http://www.faqts.com/knowledge_base/view.phtml/aid/24463/fid/1220

http://www.faqts.com/knowledge_base/view.phtml/aid/23670/fid/445

http://www.faqts.com/knowledge_base/view.phtml/aid/24459/fid/1220

http://www.faqts.com/knowledge_base/view.phtml/aid/24463/fid/1220

----------------------------------------------------------------------