<?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: Question about shell commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467044#M15892</link>
    <description>Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;Nearly everything has been said before but another useful key to know is 'N'&lt;BR /&gt;&lt;BR /&gt;If after having searched for a command containing a string, typed a few times 'n' for the preceeding occurence, typing 'N' will back to the previous one. Useful if you're typing too fast like most of us ;-)&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Fri, 24 Nov 2000 07:51:33 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2000-11-24T07:51:33Z</dc:date>
    <item>
      <title>Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467040#M15888</link>
      <description>Hi all,&lt;BR /&gt;I have a very little question about shell commanding:&lt;BR /&gt;I found, that I can use some commands from the command history by using esc+k. Now I'm searching for a command, and then I have to type very often k,k,k,k... . So what I'm looking for is, to give the first two or three digits from the command, and then to find it faster. How can I do that?&lt;BR /&gt;And how can I increase the history length?&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply!&lt;BR /&gt;&lt;BR /&gt;Daniel :-)</description>
      <pubDate>Fri, 24 Nov 2000 07:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467040#M15888</guid>
      <dc:creator>Daniel Schneider</dc:creator>
      <dc:date>2000-11-24T07:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467041#M15889</link>
      <description>Hi Daniel,&lt;BR /&gt;Esc+k is very usefull. After this you can use vi-commands to search in your command history.&lt;BR /&gt;So, type '/' and a part of the command you are looking for, and press enter. When you need the next command, just type 'n' (next).&lt;BR /&gt;The history can be increased by setting the variable HISTSIZE in your .profile. For example, 'export HISTSIZE=5000'.</description>
      <pubDate>Fri, 24 Nov 2000 07:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467041#M15889</guid>
      <dc:creator>Addie Wevers</dc:creator>
      <dc:date>2000-11-24T07:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467042#M15890</link>
      <description>searching a command can be done with the / character&lt;BR /&gt;&lt;BR /&gt;[ESC]K&lt;BR /&gt;/&lt;PATTERN&gt;&lt;BR /&gt;&lt;BR /&gt;increase history with setting the variable HISTZISE ie:&lt;BR /&gt;&lt;BR /&gt;HISTSIZE=500 ; export HISTSIZE&lt;BR /&gt;&lt;BR /&gt;insert this into /etc/profile or $HOME/.profile&lt;BR /&gt;(the default for HISTSIZE is 128)&lt;BR /&gt;&lt;BR /&gt;For more information see&lt;BR /&gt;&lt;BR /&gt;man sh-posix&lt;/PATTERN&gt;</description>
      <pubDate>Fri, 24 Nov 2000 07:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467042#M15890</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-11-24T07:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467043#M15891</link>
      <description>Almost everything said here.&lt;BR /&gt;You can also use [ESC]z and /&lt;SEARCH_STRING&gt;.&lt;BR /&gt;If you know your 'vi' you also know that when typing 'n', a ? (question mark) reverses the search direction. Good if you passed by the command you were looking for. &lt;BR /&gt;&lt;/SEARCH_STRING&gt;</description>
      <pubDate>Fri, 24 Nov 2000 07:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467043#M15891</guid>
      <dc:creator>Tommy Palo</dc:creator>
      <dc:date>2000-11-24T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467044#M15892</link>
      <description>Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;Nearly everything has been said before but another useful key to know is 'N'&lt;BR /&gt;&lt;BR /&gt;If after having searched for a command containing a string, typed a few times 'n' for the preceeding occurence, typing 'N' will back to the previous one. Useful if you're typing too fast like most of us ;-)&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Nov 2000 07:51:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467044#M15892</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-11-24T07:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467045#M15893</link>
      <description>There is also another funktion (at least in ksh). You can use r with the beginning of the command you want. For example your last commands look like:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;lpstat -t&lt;BR /&gt;&amp;gt;cd somewhere&lt;BR /&gt;&amp;gt;vi something&lt;BR /&gt;&amp;gt;man command&lt;BR /&gt;&lt;BR /&gt;After this you can recall the lpstat command with:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;r lps&lt;BR /&gt;&lt;BR /&gt;But you have to use the beginning of the command (as far as i know). &lt;BR /&gt;&lt;BR /&gt;Hope this helps also.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Stefan</description>
      <pubDate>Fri, 24 Nov 2000 07:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467045#M15893</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2000-11-24T07:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Question about shell commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467046#M15894</link>
      <description>Thank you all.&lt;BR /&gt;Your comments are very helpful.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Daniel :-)</description>
      <pubDate>Fri, 24 Nov 2000 08:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-shell-commands/m-p/2467046#M15894</guid>
      <dc:creator>Daniel Schneider</dc:creator>
      <dc:date>2000-11-24T08:40:34Z</dc:date>
    </item>
  </channel>
</rss>

