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 ?

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.

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

Rgds,
Sharif.

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:b: