srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-06-02 10:00:22 +0200
committersrdusr <[email protected]>2023-06-02 10:00:22 +0200
commitb3d1dc91b1d3c1dc8e31099f0e8e014ac349e947 (patch)
tree34aaf18206ed5d89bcb042db777ec1953c8a8f92 /tools
parentb0eee0daf433ec53ad6ad4dbb005ab08ae36df2b (diff)
downloadnotes-b3d1dc91b1d3c1dc8e31099f0e8e014ac349e947.tar.gz
notes-b3d1dc91b1d3c1dc8e31099f0e8e014ac349e947.zip
Add note on network interface abbreviations
Diffstat (limited to 'tools')
-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