<?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 check history in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971675#M4659</link>
    <description>I login as root user and run some command on the shell , how can I check back my history - what command I have ran ? I check it on the file /.sh_history , but what is in linux ? thx.</description>
    <pubDate>Tue, 13 May 2003 08:49:48 GMT</pubDate>
    <dc:creator>juno2</dc:creator>
    <dc:date>2003-05-13T08:49:48Z</dc:date>
    <item>
      <title>check history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971675#M4659</link>
      <description>I login as root user and run some command on the shell , how can I check back my history - what command I have ran ? I check it on the file /.sh_history , but what is in linux ? thx.</description>
      <pubDate>Tue, 13 May 2003 08:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971675#M4659</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-05-13T08:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: check history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971676#M4660</link>
      <description>in bash you can use arrow buttons for walking into your history, history file itself is .bash_history&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vitaly</description>
      <pubDate>Tue, 13 May 2003 09:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971676#M4660</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-05-13T09:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: check history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971677#M4661</link>
      <description>The command "history" is the sequential list of commands you have typed, in the current or previous shell sessions. The command history is stored in a text file in the home directory called ".bash_history" (root: "/root/.bash_history").&lt;BR /&gt;By default, bash remembers the last 500 events.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Tue, 13 May 2003 09:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971677#M4661</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-05-13T09:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: check history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971678#M4662</link>
      <description>check out /root/.bash_history.&lt;BR /&gt;&lt;BR /&gt;and by default on a RHL box it is 1000 (set in /etc/profile)&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Tue, 13 May 2003 09:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971678#M4662</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-05-13T09:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: check history</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971679#M4663</link>
      <description>And you can read it by &lt;BR /&gt;cat /root/.bash_history | more&lt;BR /&gt;or&lt;BR /&gt;vim /root/.bash_history&lt;BR /&gt;(':q!' to go away from Vim if you are not familiar with it. SAme command on profile to change the value from 1000 to something else, but do not be too greedy on history size).&lt;BR /&gt;&lt;BR /&gt;Jerome (celebrating my new cap : can I have it in read instead of green ?)</description>
      <pubDate>Tue, 13 May 2003 09:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-history/m-p/2971679#M4663</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-05-13T09:48:41Z</dc:date>
    </item>
  </channel>
</rss>

