From fa694063d753796821032ac3b32e1d92f553aae0 Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 30 May 2023 13:51:42 +0200 Subject: Add Easiser command to get ip address --- tools/ssh.md | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/ssh.md b/tools/ssh.md index 24e14e8..c580cf8 100644 --- a/tools/ssh.md +++ b/tools/ssh.md @@ -10,6 +10,7 @@ `$ ip addr show | grep "inet "` `$ ifconfig` `$ nmcli -p device show` +`$ ip route get 1.2.3.4 | awk '{print $7}'` ** Windows `$ ipconfig` > NOTE: The IP Address we use will usually be the one not similar to 127.0.0.1 (localhost) but rather a different string of numbers, ignore any forward slash and the numbers after it -- cgit v1.2.3