<?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: history command ??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517304#M596132</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Type "set" command to list all vairables known to your current shell.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The variables for your interest are : HISTFILE (It shows the location of history &lt;BR /&gt;file .sh_history) and HISTSIZE (it shows how many commands are stored in history file).&lt;BR /&gt;&lt;BR /&gt;Use "history" command to retrieve the commands in history or you can use "Esc-K" key sequence.&lt;BR /&gt;&lt;BR /&gt;It is for your current shell and it's subshell only and not for all users.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jaimin</description>
    <pubDate>Mon, 16 Apr 2001 19:30:57 GMT</pubDate>
    <dc:creator>Jaimin Parikh</dc:creator>
    <dc:date>2001-04-16T19:30:57Z</dc:date>
    <item>
      <title>history command ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517299#M596127</link>
      <description>I was reading a post about a history command &lt;BR /&gt;history -100  to give you the last 100 commands. How do you set it up? and is it the last 100 command that you type? Or that anyone types? &lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Mon, 16 Apr 2001 15:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517299#M596127</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-04-16T15:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: history command ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517300#M596128</link>
      <description>Check in .profile HISTFILE and HISTSIZE,environnement variables of history.</description>
      <pubDate>Mon, 16 Apr 2001 15:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517300#M596128</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-16T15:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: history command ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517301#M596129</link>
      <description>Just to add to the response above, it is the last 100 commnands you type, command history is unique to each user.  The variable $HISTFILE contains the commands, usually .sh_history and the variable $HISTSIZE is the number of commands that will be saved.  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Rob&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Apr 2001 16:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517301#M596129</guid>
      <dc:creator>Rob Smith</dc:creator>
      <dc:date>2001-04-16T16:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: history command ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517302#M596130</link>
      <description>In  your .profile put in the following. YOu can have your HISTSIZE as large as you want. It will be put in your HISTFILE /.sh_history&lt;BR /&gt;&lt;BR /&gt;# Set command history&lt;BR /&gt;        HISTFILE=/.sh_history&lt;BR /&gt;        export HISTFILE&lt;BR /&gt;        HISTSIZE=2000&lt;BR /&gt;        export HISTSIZE</description>
      <pubDate>Mon, 16 Apr 2001 16:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517302#M596130</guid>
      <dc:creator>Jim Moffitt_1</dc:creator>
      <dc:date>2001-04-16T16:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: history command ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517303#M596131</link>
      <description>once you finish setting up your variable HISTFILE, you can access this info using the 'esc k' combo in the Korn and posix shell.&lt;BR /&gt;or type in history, and you get a list of the commands you entered.</description>
      <pubDate>Mon, 16 Apr 2001 18:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517303#M596131</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2001-04-16T18:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: history command ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517304#M596132</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Type "set" command to list all vairables known to your current shell.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The variables for your interest are : HISTFILE (It shows the location of history &lt;BR /&gt;file .sh_history) and HISTSIZE (it shows how many commands are stored in history file).&lt;BR /&gt;&lt;BR /&gt;Use "history" command to retrieve the commands in history or you can use "Esc-K" key sequence.&lt;BR /&gt;&lt;BR /&gt;It is for your current shell and it's subshell only and not for all users.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jaimin</description>
      <pubDate>Mon, 16 Apr 2001 19:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/history-command/m-p/2517304#M596132</guid>
      <dc:creator>Jaimin Parikh</dc:creator>
      <dc:date>2001-04-16T19:30:57Z</dc:date>
    </item>
  </channel>
</rss>

