I am using ssh to access another machine and require the IP from which I am sshing from. Finger gives this, but I don't know how to isolate this from the information given. So far I have:
finger | grep $USER
jonno Jonathan Mackenzie pts/9 Sep 21 16:23 (188.8.131.52)
What is the last grep required to isolate the IP address (i changed it here for security reasons)?