<?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: Shell Command History in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895295#M819785</link>
    <description>Try this:&lt;BR /&gt;&lt;BR /&gt;export HISTFILE=/tmp/.sh_history.$(whoami)&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Mon, 03 Feb 2003 17:10:47 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-02-03T17:10:47Z</dc:date>
    <item>
      <title>Shell Command History</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895294#M819784</link>
      <description>I am using Korn shell. &lt;BR /&gt;&lt;BR /&gt;- when opening a new Xterm window, I am unable to access the shell history&lt;BR /&gt;&lt;BR /&gt;- what is the option to set the length of the command history.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;abhay</description>
      <pubDate>Mon, 03 Feb 2003 17:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895294#M819784</guid>
      <dc:creator>oradba</dc:creator>
      <dc:date>2003-02-03T17:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command History</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895295#M819785</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;export HISTFILE=/tmp/.sh_history.$(whoami)&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 03 Feb 2003 17:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895295#M819785</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-03T17:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command History</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895296#M819786</link>
      <description>Hi Abhay,&lt;BR /&gt;&lt;BR /&gt;HISTFILE=~/.sh_history&lt;BR /&gt;&lt;BR /&gt;This will set your history file.&lt;BR /&gt;&lt;BR /&gt;HISTSIZE=400&lt;BR /&gt;&lt;BR /&gt;This will set your history depth to 400 commands.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 03 Feb 2003 17:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895296#M819786</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-03T17:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command History</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895297#M819787</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;export HISTFILE=$HOME/.sh_history&lt;BR /&gt;export HISTSIZE=100&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 03 Feb 2003 17:19:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895297#M819787</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-02-03T17:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command History</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895298#M819788</link>
      <description>Make sure your .dtprofile has: DTSOURCEPROFILE=true&lt;BR /&gt;&lt;BR /&gt;The settings that are probably in your .profile are:&lt;BR /&gt;HISTFILE=$HOME/.sh_history&lt;BR /&gt;(should not be in /tmp as this allows all users to read)&lt;BR /&gt;HISTSIZE=some number&lt;BR /&gt;&lt;BR /&gt;- Chris</description>
      <pubDate>Mon, 03 Feb 2003 17:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895298#M819788</guid>
      <dc:creator>Chris Wong</dc:creator>
      <dc:date>2003-02-03T17:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command History</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895299#M819789</link>
      <description>Also verify your EDITOR variable is set:&lt;BR /&gt;&lt;BR /&gt;EDITOR=vi; export EDITOR&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Mon, 03 Feb 2003 17:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-command-history/m-p/2895299#M819789</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2003-02-03T17:23:24Z</dc:date>
    </item>
  </channel>
</rss>

