Linux Terminal Glossary
›
Local Network & Public Hosting
Local Network & Public Hosting
148 commands
nmcli general status
nmcli general hostname
nmcli general hostname myserver
nmcli device show eth0
nmcli dev wifi connect MyWiFi password 'secret'
nmcli dev wifi hotspot ifname wlan0 ssid MyHotspot password 'secret'
nmcli dev wifi rescan
nmcli radio wifi off
nmcli radio wifi on
nmcli networking off
nmcli networking on
nmcli connection show --active
nmcli connection show 'MyWiFi'
nmcli connection up 'Ethernet 1'
nmcli connection down 'Ethernet 1'
nmcli connection add type ethernet con-name 'home' ifname eth0 ipv4.method auto
nmcli connection add type wifi con-name 'office' ssid OfficeWiFi wifi-sec.key-mgmt wpa-psk wifi-sec.psk 'secret'
nmcli connection modify 'home' ipv4.addresses 192.168.1.50/24
nmcli connection modify 'home' ipv4.gateway 192.168.1.1
nmcli connection modify 'home' ipv4.dns 1.1.1.1
nmcli connection modify 'home' ipv4.method manual
nmcli connection delete 'old-wifi'
nmcli -t -f NAME,DEVICE con show
ip addr flush dev eth0
ip link show eth0
ip link set eth0 address 02:00:00:00:00:01
ip neigh show
ip neigh add 192.168.1.5 lladdr aa:bb:cc:dd:ee:ff dev eth0
ip neigh del 192.168.1.5 dev eth0
ip neigh flush dev eth0
ip maddr show
ip route show table all
ip rule add from 192.168.1.100 lookup 100
ip netns delete testns
ip netns exec testns bash
ip link add veth0 type veth peer name veth1
ip link set veth1 netns testns
arp -a
arp -d 192.168.1.5
arp -s 192.168.1.5 aa:bb:cc:dd:ee:ff
arp-scan --localnet
arp-scan --interface eth0 192.168.1.0/24
nmap -sS -p 22,80,443 192.168.1.1
nmap -sn 192.168.1.0/24 | awk '/for /{print $5}'
nmap --script smb-os-discovery 192.168.1.1
ping -c 3 -W 1 192.168.1.1
ping -I eth0 8.8.8.8
fping -a -g 192.168.1.0/24
mtr -rw 8.8.8.8
mtr -T -P 443 8.8.8.8
tracepath 8.8.8.8
nc -z -v -w 2 192.168.1.1 1-1000
avahi-browse -a
avahi-browse -rt _http._tcp
avahi-resolve-host-name myprinter.local
avahi-resolve-address 192.168.1.5
avahi-publish -s 'My Printer' _ipp._tcp 631
sudo systemctl enable --now avahi-daemon
resolvectl flush-caches
resolvectl statistics
resolvectl mdns eth0 yes
networkctl list
networkctl status eth0
networkctl lldp eth0
iw dev wlan0 link
iw dev wlan0 scan
iw dev wlan0 connect MyWiFi
iw dev wlan0 disconnect
rfkill list
rfkill block wifi
rfkill unblock all
ethtool -S eth0
ethtool -i eth0
ethtool -P eth0
ethtool -k eth0
ethtool -p eth0 5
ethtool -s eth0 wol g
wakeonlan aa:bb:cc:dd:ee:ff
wakeonlan -i 192.168.1.255 aa:bb:cc:dd:ee:ff
etherwake -i eth0 aa:bb:cc:dd:ee:ff
iperf3 -s -p 5202
iperf3 -c 192.168.1.10 -t 10
iperf3 -c 192.168.1.10 -u -b 100m
iperf3 -c 192.168.1.10 -R
iperf3 -c 192.168.1.10 -P 4
iperf3 -c 192.168.1.10 -p 5202
smbclient -L //server -U user
smbclient //server/share -U user
smbclient //server/share -U user -c 'ls'
smbclient //server/share -U user -c 'put report.pdf'
smbclient //server/share -U user -c 'get report.pdf'
smbget smb://server/share/report.pdf -U user
smbtree -U user
cifscreds add -u alice nas
sudo mount -t cifs //server/share /mnt/share -o username=user
sudo mount -t cifs //server/share /mnt/share -o credentials=/etc/samba/credentials
sudo mount -t cifs //server/share /mnt/share -o username=user,vers=3.0
sudo umount /mnt/share
sudo mount -t nfs server:/export /mnt/nfs
sudo mount -t nfs -o vers=4.2 server:/export /mnt/nfs
showmount -a server
rpcinfo -u server nfs
nfsstat -m
smbstatus -S
cloudflared tunnel cleanup mytunnel
cloudflared tunnel token mytunnel
cloudflared tunnel run --token $TUNNEL_TOKEN
cloudflared tunnel --config /etc/cloudflared/config.yml run mytunnel
cloudflared tunnel ingress validate
cloudflared tunnel ingress rule https://app.example.com
cloudflared tunnel route ip add 10.0.0.0/8 mytunnel
cloudflared tunnel route ip show
cloudflared tunnel vnet add myvnet
cloudflared tail mytunnel
cloudflared access ssh --hostname ssh.example.com --url localhost:22
cloudflared access tcp --hostname tcp.example.com --url localhost:9210
cloudflared access curl https://internal.example.com
cloudflared access login https://app.example.com
cloudflared access token -app=https://app.example.com
sudo cloudflared service uninstall
ngrok tcp 22
ngrok start --all
ngrok config add-authtoken 1rlHSX3HqrqmOWZdeJ6bIv8rfuo_4cmS1QswRGyxcQD8NOukF
ngrok diagnose
ngrok http 192.168.1.2:80
sudo ngrok service install --config /etc/ngrok.yml
tailscale up
tailscale up --ssh
tailscale up --advertise-routes=192.168.1.0/24
tailscale up --exit-node=100.101.102.103
tailscale down
tailscale status
tailscale ip -4
tailscale serve --http=80 localhost:3000
tailscale serve --bg --https=443 localhost:3000
tailscale funnel --https=443 localhost:3000
tailscale file cp notes.txt laptop:
tailscale file get .
tailscale netcheck
tailscale ping nas
tailscale whois 100.101.102.103
tailscale cert myserver.mytailnet.ts.net
tailscale logout
tailscale ssh user@nas
ssh -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -R 443:localhost:8443 user@tunnel.example.com
autossh -M 0 -N -o ServerAliveInterval=60 -R 8080:localhost:3000 user@tunnel.example.com
sshuttle -r user@vpn.example.com 10.0.0.0/8
socat TCP-LISTEN:8080,reuseaddr,fork TCP:192.168.1.10:80
Search all 7,657 commands
instead.