<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: output from commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474376#M212319</link>
    <description>By default ftp started in interactive mode.&lt;BR /&gt;For example.&lt;BR /&gt;ftp&amp;gt; mput *&lt;BR /&gt;mput 51434s.pdf?&lt;BR /&gt;If you want your script auto pass this step you must set &lt;BR /&gt;ftp&amp;gt;prompt off&lt;BR /&gt;NOTE: IF YOU PUT OR GET BINARY FILE YOU MUST SET FTP TRANFER IN BINARY MODE BY TYPING:&lt;BR /&gt;ftp&amp;gt;bin&lt;BR /&gt;so that full script are:&lt;BR /&gt;#############################&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; END&lt;BR /&gt;open IP_address&lt;BR /&gt;user user passwd &lt;BR /&gt;prompt off&lt;BR /&gt;bin&lt;BR /&gt;put f1&lt;BR /&gt;bye&lt;BR /&gt;END&lt;BR /&gt;###########################&lt;BR /&gt;</description>
    <pubDate>Sun, 30 Jan 2005 21:59:39 GMT</pubDate>
    <dc:creator>Nguyen Anh Tien</dc:creator>
    <dc:date>2005-01-30T21:59:39Z</dc:date>
    <item>
      <title>output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474362#M212305</link>
      <description>hi all&lt;BR /&gt;&lt;BR /&gt;i have ph-ux version 10.20&lt;BR /&gt;&lt;BR /&gt;when i xecute a command like ll (as example).&lt;BR /&gt;&lt;BR /&gt;i can redirect the output to file as :&lt;BR /&gt;******&lt;BR /&gt;ll&amp;gt;f1&lt;BR /&gt;******&lt;BR /&gt;&lt;BR /&gt;is there any way to redirect this output to &lt;BR /&gt;another PC(running Windows).&lt;BR /&gt;&lt;BR /&gt;to be more clear.&lt;BR /&gt;&lt;BR /&gt;i can write script that and make it run every 1 houre.&lt;BR /&gt;&lt;BR /&gt;i want to receive the output from this script in my PC(Windows).&lt;BR /&gt;&lt;BR /&gt;is there any way to do that?&lt;BR /&gt;&lt;BR /&gt;thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 11:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474362#M212305</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-30T11:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474363#M212306</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no simple command to do this but&lt;BR /&gt;I think that you can for example do:&lt;BR /&gt;1. If yoy have configured mail system you can &lt;BR /&gt;send output via mail&lt;BR /&gt;ll | mail adres@a.b.c&lt;BR /&gt;2. You can redirect command output to file and every hour copy by runnning rcp or scp or ftp from PC.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 12:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474363#M212306</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2005-01-30T12:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474364#M212307</link>
      <description>There are many but diffrent options ..&lt;BR /&gt;&lt;BR /&gt;01. Use sendmail to send it across as an email . So that u can recieve it an windows.&lt;BR /&gt;02. Install samba server so that you can map one directory from unix server on ur windows box. write the log onto this directory ..&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Sun, 30 Jan 2005 12:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474364#M212307</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2005-01-30T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474365#M212308</link>
      <description>thank u for response&lt;BR /&gt;&lt;BR /&gt;but is there way accros network?&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 12:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474365#M212308</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-30T12:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474366#M212309</link>
      <description>i think both the options can be over network&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Sun, 30 Jan 2005 12:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474366#M212309</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2005-01-30T12:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474367#M212310</link>
      <description>I mean if i want to make application&lt;BR /&gt;inteact with windows client / server.&lt;BR /&gt;&lt;BR /&gt;cliet (Windows)send request&lt;BR /&gt;server (HP-UX) response&lt;BR /&gt;&lt;BR /&gt;what i need ?&lt;BR /&gt;&lt;BR /&gt;i have a good knowledge with programming languages.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 12:22:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474367#M212310</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-30T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474368#M212311</link>
      <description>Why don't you write a program that willl listen on the unix server to a request that is coming from windows ...&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Sun, 30 Jan 2005 12:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474368#M212311</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2005-01-30T12:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474369#M212312</link>
      <description>i can do it with visual basic on windows&lt;BR /&gt;but i don't know how on unix&lt;BR /&gt;&lt;BR /&gt;can u tell me from where i start?&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 13:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474369#M212312</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-30T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474370#M212313</link>
      <description>I believe the best solution for you would be emailing&lt;BR /&gt;the script output as suggested by someone else.&lt;BR /&gt;Another easy solution would be to enable ftp server&lt;BR /&gt;on the PC and have the script in HP-UX box&lt;BR /&gt;automatically ftp this to PC.&lt;BR /&gt;&lt;BR /&gt;If you want to take this oppertunity to learn network&lt;BR /&gt;programming on Unix, then you should be looking at&lt;BR /&gt;the "UNIX Network Programming" by W Richard &lt;BR /&gt;Stevens. The following URL has a link to the source&lt;BR /&gt;code of all the example in the book that you can &lt;BR /&gt;reuse.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 13:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474370#M212313</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-30T13:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474371#M212314</link>
      <description>Oops...here is the URL:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.kohala.com/start/unpv12e.html" target="_blank"&gt;http://www.kohala.com/start/unpv12e.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 13:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474371#M212314</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-30T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474372#M212315</link>
      <description>many thankx for your help&lt;BR /&gt;&lt;BR /&gt;i already made ftp partition on my pc&lt;BR /&gt;&lt;BR /&gt;and now i can send files from unix to my PC.&lt;BR /&gt;&lt;BR /&gt;when i try to write script as :&lt;BR /&gt;&lt;BR /&gt;****************************&lt;BR /&gt;ftp IP_address user user_name account paaswd&lt;BR /&gt;****************************&lt;BR /&gt;&lt;BR /&gt;it make error&lt;BR /&gt;&lt;BR /&gt;is there way to write a parameter for login&lt;BR /&gt;in script and run it? without &lt;BR /&gt;ftp prompt appear?&lt;BR /&gt;&lt;BR /&gt;thankx&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 14:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474372#M212315</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-30T14:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474373#M212316</link>
      <description>ftp -n &amp;lt;&amp;lt; END  &lt;BR /&gt;    open $1    &lt;BR /&gt;    user $2 $3 &lt;BR /&gt;    prompt off &lt;BR /&gt;    bin        &lt;BR /&gt;    put $4     &lt;BR /&gt;    quit       &lt;BR /&gt;END            &lt;BR /&gt;&lt;BR /&gt;From unix to windows&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Sun, 30 Jan 2005 14:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474373#M212316</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2005-01-30T14:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474374#M212317</link>
      <description>realy&lt;BR /&gt;that is i want&lt;BR /&gt;many thankx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but can you explain the meaning of &amp;lt;&lt;END&gt;&lt;/END&gt;&lt;BR /&gt;and i write the script as :&lt;BR /&gt;***********************&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; END&lt;BR /&gt;open IP_address&lt;BR /&gt;user user passwd &lt;BR /&gt;put f1&lt;BR /&gt;bye&lt;BR /&gt;***********************&lt;BR /&gt;and run ok&lt;BR /&gt;why you use prompt off? (or that was explain to me)?&lt;BR /&gt;&lt;BR /&gt;thank you&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 15:07:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474374#M212317</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-30T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474375#M212318</link>
      <description>HI Kamal.&lt;BR /&gt;This script must be&lt;BR /&gt;&lt;BR /&gt;***********************&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; END&lt;BR /&gt;open IP_address&lt;BR /&gt;user user passwd &lt;BR /&gt;put f1&lt;BR /&gt;bye&lt;BR /&gt;END&lt;BR /&gt;***********************&lt;BR /&gt;END is mark point. It likes "begin" and "end" in VB. It is used for identify where is first ftp command and last ftp command.&lt;BR /&gt;NOTE: Using ftp is smarter than mail. but you must install FTP server on PC (recommand IIS).&lt;BR /&gt;HTH</description>
      <pubDate>Sun, 30 Jan 2005 20:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474375#M212318</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-01-30T20:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: output from commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474376#M212319</link>
      <description>By default ftp started in interactive mode.&lt;BR /&gt;For example.&lt;BR /&gt;ftp&amp;gt; mput *&lt;BR /&gt;mput 51434s.pdf?&lt;BR /&gt;If you want your script auto pass this step you must set &lt;BR /&gt;ftp&amp;gt;prompt off&lt;BR /&gt;NOTE: IF YOU PUT OR GET BINARY FILE YOU MUST SET FTP TRANFER IN BINARY MODE BY TYPING:&lt;BR /&gt;ftp&amp;gt;bin&lt;BR /&gt;so that full script are:&lt;BR /&gt;#############################&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; END&lt;BR /&gt;open IP_address&lt;BR /&gt;user user passwd &lt;BR /&gt;prompt off&lt;BR /&gt;bin&lt;BR /&gt;put f1&lt;BR /&gt;bye&lt;BR /&gt;END&lt;BR /&gt;###########################&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Jan 2005 21:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/output-from-commands/m-p/3474376#M212319</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-01-30T21:59:39Z</dc:date>
    </item>
  </channel>
</rss>

