<?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: Command history in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033268#M910550</link>
    <description>hi Juerg,&lt;BR /&gt;&lt;BR /&gt;Please don't change root's shell - it should always be left as sh otherwise you could run into some serious problems.  Twang's answer is what you're looking for.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
    <pubDate>Fri, 25 Jul 2003 07:54:38 GMT</pubDate>
    <dc:creator>Darren Prior</dc:creator>
    <dc:date>2003-07-25T07:54:38Z</dc:date>
    <item>
      <title>Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033265#M910547</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;as a "normal" user I am able to use "ctrl k" to repeat last commands.&lt;BR /&gt;&lt;BR /&gt;Where do I have to edit what so I can use "ctrl k" also as "root" on a terminal session or on a "cde-session"&lt;BR /&gt;&lt;BR /&gt;Many Thanks&lt;BR /&gt;&lt;BR /&gt;Juerg</description>
      <pubDate>Fri, 25 Jul 2003 06:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033265#M910547</guid>
      <dc:creator>Juerg DENNEBERG</dc:creator>
      <dc:date>2003-07-25T06:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033266#M910548</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Root: Default shell is posix "sh" ... in root's home directory edit the .profile and set and export the shell to "ksh"&lt;BR /&gt;&lt;BR /&gt;CDE: edit $HOME/.dtprofile&lt;BR /&gt;&lt;BR /&gt;-Regards,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Fri, 25 Jul 2003 07:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033266#M910548</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-07-25T07:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033267#M910549</link>
      <description>Add the two entries in the root's .profile file: &lt;BR /&gt;&lt;BR /&gt;export HISTFILE=/.sh_history &lt;BR /&gt;export HISTSIZE=100 &lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;# touch /.sh_history &lt;BR /&gt;&lt;BR /&gt;relogin system.&lt;BR /&gt;It should works now.</description>
      <pubDate>Fri, 25 Jul 2003 07:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033267#M910549</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-25T07:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033268#M910550</link>
      <description>hi Juerg,&lt;BR /&gt;&lt;BR /&gt;Please don't change root's shell - it should always be left as sh otherwise you could run into some serious problems.  Twang's answer is what you're looking for.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Fri, 25 Jul 2003 07:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033268#M910550</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-07-25T07:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033269#M910551</link>
      <description>Hi you all&lt;BR /&gt;&lt;BR /&gt;I have to add:&lt;BR /&gt;&lt;BR /&gt;login as root on a terminal session "esc k" works fine (I have to correct: in my first statement I should have written "esc k" instead of "crtl k". Sory)&lt;BR /&gt;&lt;BR /&gt;Doing "su" to become root on a normal terminal session "esc k" does not work. I do not get any echo.&lt;BR /&gt;&lt;BR /&gt;Typing "esc k" as root on cde I get the message: "/sbin/sh: ^[k: not found"&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 08:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033269#M910551</guid>
      <dc:creator>Juerg DENNEBERG</dc:creator>
      <dc:date>2003-07-25T08:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033270#M910552</link>
      <description>If you already put the 2 variables in .profile, remember to uncomment the line in .dtprofile and see if it works: &lt;BR /&gt;DTSOURCEPROFILE=true</description>
      <pubDate>Fri, 25 Jul 2003 08:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033270#M910552</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-25T08:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033271#M910553</link>
      <description>Juerg,&lt;BR /&gt;&lt;BR /&gt;When you su to root, no profile information is parsed unless you use the "su -" syntax, so you will have to do "set -o vi" manually.  Either you need to remember to add tu "-" to your su command or remember to "set -o vi".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 09:17:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033271#M910553</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-25T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Command history</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033272#M910554</link>
      <description>Hi you all&lt;BR /&gt;&lt;BR /&gt;it works&lt;BR /&gt;&lt;BR /&gt;Many thanks and have a nice weekend&lt;BR /&gt;&lt;BR /&gt;Juerg</description>
      <pubDate>Fri, 25 Jul 2003 09:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-history/m-p/3033272#M910554</guid>
      <dc:creator>Juerg DENNEBERG</dc:creator>
      <dc:date>2003-07-25T09:33:56Z</dc:date>
    </item>
  </channel>
</rss>

