srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ssh.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ssh.md')
-rw-r--r--tools/ssh.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/ssh.md b/tools/ssh.md
index 7b4aeaf..c668477 100644
--- a/tools/ssh.md
+++ b/tools/ssh.md
@@ -6,12 +6,18 @@
`$ whoami`
* Check ip address
+> NOTE:
+ - lo usually stands for the loopback interface (localhost)
+ - wlan usually stands for a wireless networking interface
+ - rmnet interfaces are usually associated with cellular connections and usb tethering
* Linux
`$ ip addr show | grep "inet "`
`$ ifconfig`
`$ nmcli -p device show`
`$ ip route get 1.2.3.4 | awk '{print $7}'`
`$ curl ifconfig.me`
+
+
* 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