<?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: Redirect STDIN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996680#M913705</link>
    <description>Thanks, but I wish to record the STDIN on BASTION, not TARGET.</description>
    <pubDate>Fri, 13 Jun 2003 08:39:09 GMT</pubDate>
    <dc:creator>Ollie R</dc:creator>
    <dc:date>2003-06-13T08:39:09Z</dc:date>
    <item>
      <title>Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996676#M913701</link>
      <description>Hi,&lt;BR /&gt;Using OpenSSH, I connect from one system, called BASTION, to another system, called TARGET.&lt;BR /&gt;I wish to record the commands entered at the keyboard while connected to TARGET into a file on BASTION. That is, I wish to record STDIN only, without STDOUT.&lt;BR /&gt;Does anyone know how I can achieve this?&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 13 Jun 2003 08:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996676#M913701</guid>
      <dc:creator>Ollie R</dc:creator>
      <dc:date>2003-06-13T08:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996677#M913702</link>
      <description>Try,&lt;BR /&gt;&lt;BR /&gt;ssh TARGET | tee target.out&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik</description>
      <pubDate>Fri, 13 Jun 2003 08:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996677#M913702</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-06-13T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996678#M913703</link>
      <description>Thanks, but that also does STDOUT. I don't want STDOUT as I'm trying to produce a history of commands typed only.</description>
      <pubDate>Fri, 13 Jun 2003 08:30:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996678#M913703</guid>
      <dc:creator>Ollie R</dc:creator>
      <dc:date>2003-06-13T08:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996679#M913704</link>
      <description>Hi,&lt;BR /&gt;and if you enable history on the TARGET you should get what you want.&lt;BR /&gt;&lt;BR /&gt;For example, putting HISTFILE and EDITOR variables in .profile.&lt;BR /&gt;&lt;BR /&gt;If you wish to keep track of command, you can also personalize the name of the history file for each connection, &lt;BR /&gt;export HISTFILE=$HOME/.sh_history`tty|tr / _`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 13 Jun 2003 08:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996679#M913704</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-13T08:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996680#M913705</link>
      <description>Thanks, but I wish to record the STDIN on BASTION, not TARGET.</description>
      <pubDate>Fri, 13 Jun 2003 08:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996680#M913705</guid>
      <dc:creator>Ollie R</dc:creator>
      <dc:date>2003-06-13T08:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996681#M913706</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did you try 'tee file | command' (ie tee /tmp/a | remsh hostname). It works, but I can't avoid echoing of all commands ...&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Fri, 13 Jun 2003 09:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996681#M913706</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-06-13T09:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996682#M913707</link>
      <description>This won't save the output to Bastion but it will save all Std in and out on Target&lt;BR /&gt;&lt;BR /&gt;script &lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;This will record everything done - input and output.&lt;BR /&gt;you could then ftp it to bastion if you wanted to&lt;/FILENAME&gt;</description>
      <pubDate>Fri, 13 Jun 2003 10:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996682#M913707</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-06-13T10:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996683#M913708</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;The best for your problem is to use&lt;BR /&gt;the "script" command so you will see the&lt;BR /&gt;whole input in the file!&lt;BR /&gt;You can also use the command | tee logfile&lt;BR /&gt;But script better.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Fri, 13 Jun 2003 13:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996683#M913708</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-13T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect STDIN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996684#M913709</link>
      <description>Hello again!&lt;BR /&gt;&lt;BR /&gt;You can also use tee -a filename to&lt;BR /&gt;take the stdin&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Fri, 13 Jun 2003 13:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-stdin/m-p/2996684#M913709</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-13T13:39:07Z</dc:date>
    </item>
  </channel>
</rss>

