<?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: Finding the ip from where the commands are fired in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227425#M60435</link>
    <description>Who has permission to delete your directories and files?  Only you and root?&lt;BR /&gt;Any crontab entries to delete "old" files?</description>
    <pubDate>Mon, 01 Mar 2010 07:56:23 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-03-01T07:56:23Z</dc:date>
    <item>
      <title>Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227424#M60434</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know in linux how to find out the terminal from where the commands are fired and if possible the IP address of the machine where the terminal is opened.&lt;BR /&gt;&lt;BR /&gt;This is required as continuous deletion of my project folders and files are happening though we have separate userid and password for the project.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2010 07:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227424#M60434</guid>
      <dc:creator>nish_1</dc:creator>
      <dc:date>2010-03-01T07:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227425#M60435</link>
      <description>Who has permission to delete your directories and files?  Only you and root?&lt;BR /&gt;Any crontab entries to delete "old" files?</description>
      <pubDate>Mon, 01 Mar 2010 07:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227425#M60435</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-01T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227426#M60436</link>
      <description>The user we use has the execute permissions also.whomever logins with this userid have full access to the files</description>
      <pubDate>Mon, 01 Mar 2010 08:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227426#M60436</guid>
      <dc:creator>nish_1</dc:creator>
      <dc:date>2010-03-01T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227427#M60437</link>
      <description>Hi Nish&lt;BR /&gt;&lt;BR /&gt;have you tried last(1)?&lt;BR /&gt;It list all that info.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2010 14:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227427#M60437</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2010-03-01T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227428#M60438</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;last command gives the output as follows&lt;BR /&gt;&lt;BR /&gt;nish   pts/7        10.66.123.221    Tue Mar  2 13:45   still logged in&lt;BR /&gt;&lt;BR /&gt;I require the command fired from this particular terminal along with IP.Can u please suggest?</description>
      <pubDate>Tue, 02 Mar 2010 08:29:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227428#M60438</guid>
      <dc:creator>nish_1</dc:creator>
      <dc:date>2010-03-02T08:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227429#M60439</link>
      <description>Hi nish,&lt;BR /&gt;&lt;BR /&gt;have a look at your shell-history ( e.g. ~/sh_history, ~/.bash_history etc) or if no history is configured have a look at sh(1), bash(1) or  csh(1) etc. to configure one.&lt;BR /&gt;&lt;BR /&gt;e.g. add lines like this to /home/nish/.bashrc:&lt;BR /&gt;export HISTFILE=~/.bash_history_$(basename $(tty) )&lt;BR /&gt;export HISTTIMEFORMAT='%F %T '&lt;BR /&gt;&lt;BR /&gt;The you can audit all commands invoked.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Mar 2010 09:06:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227429#M60439</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2010-03-02T09:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227430#M60440</link>
      <description>Hi Hemmetter,&lt;BR /&gt;&lt;BR /&gt;After exporting these variables in the home directory .sh_history file got formed instead of a file like .bash_history_7.Can you pls explain on this?</description>
      <pubDate>Tue, 02 Mar 2010 10:18:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227430#M60440</guid>
      <dc:creator>nish_1</dc:creator>
      <dc:date>2010-03-02T10:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227431#M60441</link>
      <description>thanks Hemmetter.It worked and now i can track it :) .</description>
      <pubDate>Tue, 02 Mar 2010 10:47:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227431#M60441</guid>
      <dc:creator>nish_1</dc:creator>
      <dc:date>2010-03-02T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227432#M60442</link>
      <description>Magical answer</description>
      <pubDate>Tue, 02 Mar 2010 10:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227432#M60442</guid>
      <dc:creator>nish_1</dc:creator>
      <dc:date>2010-03-02T10:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the ip from where the commands are fired</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227433#M60443</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;the HISTFILE variable in this form distingishes between the tty's and makes it possible to relate it to IP-Address via last-output.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Mar 2010 11:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-the-ip-from-where-the-commands-are-fired/m-p/5227433#M60443</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2010-03-02T11:05:00Z</dc:date>
    </item>
  </channel>
</rss>

