The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 08:14 AM
how to retrieve IP address of a machine mridula IP Networking 5 11-02-2005 09:21 AM
How to get IP Address of machine? Ahsan High Level Programming 7 10-24-2003 11:16 AM
Restricting access to a machine by IP Address patch UNIX for Dummies Questions & Answers 2 10-20-2003 02:46 PM
Changing Machine IP address kkinnon UNIX for Advanced & Expert Users 7 08-27-2002 02:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-10-2008
harneet2004us harneet2004us is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 8
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 ?
  #2 (permalink)  
Old 04-10-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
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.
  #3 (permalink)  
Old 04-14-2008
sharif sharif is offline
Registered User
  
 

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

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

Rgds,
Sharif.
  #4 (permalink)  
Old 04-16-2008
varungupta varungupta is offline
Registered User
  
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0