srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-05-30 13:51:42 +0200
committersrdusr <[email protected]>2023-05-30 13:51:42 +0200
commitfa694063d753796821032ac3b32e1d92f553aae0 (patch)
treee93c6b80dd0244937adfc20c9399a241a7859b96 /tools
parent0bacf34a70ea621658823f999afed84a9cd28794 (diff)
downloadnotes-fa694063d753796821032ac3b32e1d92f553aae0.tar.gz
notes-fa694063d753796821032ac3b32e1d92f553aae0.zip
Add Easiser command to get ip address
Diffstat (limited to 'tools')
-rw-r--r--tools/ssh.md1
1 files changed, 1 insertions, 0 deletions
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