The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Getting Unix machine IP address asutoshch Shell Programming and Scripting 6 04-30-2006 05:14 AM
how to retrieve IP address of a machine mridula IP Networking 5 11-02-2005 06:21 AM
How to get IP Address of machine? Ahsan High Level Programming 7 10-24-2003 08:16 AM
Restricting access to a machine by IP Address patch UNIX for Dummies Questions & Answers 2 10-20-2003 11:46 AM
Changing Machine IP address kkinnon UNIX for Advanced & Expert Users 7 08-27-2002 11:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
IP address of machine

Hi

i want to know the Ip address of the machine from where i logged into the unix server and made some changes to a file.

Can I know the last changes made to a unix file ?
Reply With Quote
Forum Sponsor
  #2  
Old 04-10-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Some editors leave a backup file so you can see what you changed.

Your latest logins are visible with the "last" command. It's sometimes truncated or otherwise obscured, but if you're lucky, you will be able to see (or derive) your IP address from that information.
Reply With Quote
  #3  
Old 04-14-2008
Registered User
 

Join Date: Feb 2007
Posts: 36
U can use ifconfig

Hi,
Try ifconfig -a command. It may help u.

Rgds,
Sharif.
Reply With Quote
  #4  
Old 04-16-2008
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
Lightbulb

Hey
if its for the server you logged in into then use the following command, hope it'll help you out !!

prtconf

for more options of this command, please refer to "man prtconf".

Or as era said "last" will be efficient to do your task over.


Thanks
Varun Gupta
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0