This should be a comment to Dbo's answer but I just signed up. UsuallyUsually the ipIP is 192.168.2.2 when a Pi is connected to a laptop via ethernetEthernet. However sometimesometimes it isn't. And I don't find:
arp -a
arp -a
so useful.
In that case use the following command:
netstat -rn -finet
netstat -rn -finet
Check the Mac address of your Pi and the ipIP address next to it is the one.
If you don't know the Mac address, it's likely something like 192.168.2192.168.2.x
.x