<?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: Need help about tee command... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349510#M192209</link>
    <description>Check out the man page for script. It will make a transcript of your entire session until you exit it.</description>
    <pubDate>Wed, 04 Aug 2004 11:16:22 GMT</pubDate>
    <dc:creator>Jeff_Traigle</dc:creator>
    <dc:date>2004-08-04T11:16:22Z</dc:date>
    <item>
      <title>Need help about tee command...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349509#M192208</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I would like trace all command I type in a log file.&lt;BR /&gt;For this I use:    ksh | tee -a /tmp/log_file    and I type my command "ls", "bdf", "uname -a" etc...&lt;BR /&gt;&lt;BR /&gt;When I read /tmp/log_file I can see the command result but not the command typed... someone can help me ?&lt;BR /&gt;&lt;BR /&gt;I would like a log file where I could see my command and its result.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2004 11:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349509#M192208</guid>
      <dc:creator>OLIVA_1</dc:creator>
      <dc:date>2004-08-04T11:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about tee command...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349510#M192209</link>
      <description>Check out the man page for script. It will make a transcript of your entire session until you exit it.</description>
      <pubDate>Wed, 04 Aug 2004 11:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349510#M192209</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-08-04T11:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about tee command...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349511#M192210</link>
      <description>I generally use tee to split a copy of the output of individual commands to a log file&lt;BR /&gt;&lt;BR /&gt;bdf  | tee $logfile&lt;BR /&gt;&lt;BR /&gt;for example.&lt;BR /&gt;&lt;BR /&gt;Your methdology is interesing but unfamiliar to me.  I wonder if its a supported use.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 04 Aug 2004 11:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349511#M192210</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-04T11:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about tee command...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349512#M192211</link>
      <description>Thank you for your help !!!</description>
      <pubDate>Wed, 04 Aug 2004 11:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349512#M192211</guid>
      <dc:creator>OLIVA_1</dc:creator>
      <dc:date>2004-08-04T11:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about tee command...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349513#M192212</link>
      <description>Of course Oliva's use of tee(1) is supported... and the supporter's answer is "works as designed". :-)&lt;BR /&gt; &lt;BR /&gt;The tee command duplicates its stdin stream and end sends one copy to stdout and the other one to a file. &lt;BR /&gt; &lt;BR /&gt;With "ksh | tee -a /tmp/log_file" the stdout of ksh is piped to tee's stdin. So tee copies ksh's stdout to the file. But what you are typing at the prompt is ksh's stdin... not the stdout.&lt;BR /&gt; &lt;BR /&gt;Use the script(1) command instead, as already suggested.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Wed, 04 Aug 2004 11:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349513#M192212</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-08-04T11:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about tee command...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349514#M192213</link>
      <description>is there a way you can make it with the &lt;BR /&gt;.sh_history and/or .bash_history files?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-about-tee-command/m-p/3349514#M192213</guid>
      <dc:creator>Edgar Zapata</dc:creator>
      <dc:date>2024-09-16T09:31:16Z</dc:date>
    </item>
  </channel>
</rss>

