Cheat Sheets

ip Command Cheat Sheet: ifconfig vs ip and ss Examples

This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. Learn more.

A fresh Ubuntu 26.04 cloud VM answers ifconfig with “command not found”, because ip and ss replaced net-tools years ago. This ip command cheat sheet covers the commands you’ll actually type on those systems, from ip addr and ip route to policy routing, network namespaces, VLANs and ss socket filters.

Original content from computingforgeeks.com - post 1623

Quick-reference tables come first, then a worked lab for each family (addresses, ip routing, namespaces and ss command examples), a full ifconfig vs ip and netstat vs ss mapping table, and the errors we hit along the way. Every command below was run on Ubuntu 26.04 or Rocky Linux 10 in November 2026, with install checks on Arch, Fedora 45 and Debian 13.

ip Command Cheat Sheet (Quick Reference)

These tables are the short form of everything further down. You can read state as a normal user, but anything that adds, deletes or changes an object needs sudo, so the write commands carry it. Most subcommands also take a one-letter form, such as ip a for ip addr and ip r for ip route.

Addresses and links

CommandWhat it does
ip -br addrOne line per interface: state and addresses
ip -br linkOne line per interface: state, MAC, flags
ip -4 addr show dev ens4IPv4 details for one interface
ip -s link show ens4RX/TX packet and error counters
sudo ip addr add 10.20.0.1/24 dev dummy0Add an address (a second one becomes secondary)
sudo ip addr del 10.20.0.2/24 dev dummy0Remove one address
sudo ip addr flush dev dummy0Remove every address on the interface
sudo ip link set dummy0 upBring a link up (down to stop it)
sudo ip link set dummy0 mtu 1400Change the MTU
sudo ip link set dummy0 promisc onPromiscuous mode on (off to clear)
sudo ip link add dummy0 type dummyCreate a dummy interface for testing

Routes and policy routing

CommandWhat it does
ip routeMain routing table
ip route get 10.50.0.9Which route, device and source the kernel picks
sudo ip route add 10.50.0.0/24 via 10.20.0.254Static route through a gateway
sudo ip route add 172.16.10.0/24 dev dummy0 metric 50Route straight out of a device, with a metric
sudo ip route replace 10.50.0.0/24 via 10.20.0.253Add or overwrite in one step
sudo ip route del 10.50.0.0/24Delete a route
sudo ip route add default via 10.20.0.254 dev dummy0 table 100Route in a separate table
ip route show table 100List a non-main table
sudo ip rule add from 10.20.0.0/24 table 100 priority 1000Send traffic from a source subnet to table 100
ip rule showRule list in priority order
ip route get 10.99.0.5 from 10.20.0.1Test a lookup as if sent from that source

Neighbours, JSON and namespaces

CommandWhat it does
ip neigh showARP and NDP cache (replaces arp -n)
sudo ip neigh add 10.20.0.50 lladdr 52:54:00:12:34:56 dev dummy0 nud permanentStatic ARP entry
sudo ip neigh del 10.20.0.50 dev dummy0Delete a neighbour entry
ip -j -p addr show dummy0Pretty-printed JSON for scripts
ip -c -br addrColoured output
sudo ip netns add blueCreate a network namespace
sudo ip link add veth-host type veth peer name veth-blueCreate a veth pair
sudo ip link set veth-blue netns blueMove one end into the namespace
sudo ip netns exec blue ip addr add 10.200.1.2/24 dev veth-blueRun any command inside the namespace
sudo ip -n blue routeShort form of netns exec for ip itself
sudo ip link add link veth-host name veth-host.100 type vlan id 100802.1Q VLAN subinterface
ip -br link show type vlanList VLAN interfaces only

ss socket commands and filters

CommandWhat it does
sudo ss -tulpnListening TCP and UDP ports with process names
ss -sSocket totals by type
ss -tn state establishedEstablished TCP connections (State column hidden)
ss -tan state time-waitConnections in TIME-WAIT
ss -ltn 'sport = :8080'Is anything listening on 8080
ss -tln 'sport >= :8000 and sport <= :9999'Listeners in a port range
ss -tn dst 10.128.15.193Connections to one peer
ss -tno state establishedAdd TCP timers (keepalive, retransmit)
ss -Htn state established '( sport = :9000 )' | wc -lCount connections without the header
ss -tan | awk 'NR>1 {print $1}' | sort | uniq -cConnection count per TCP state
sudo ss -K -t dst 10.128.15.193 sport = :9000Kill matching sockets
ss -xUnix domain sockets

Keep the warning on state established in mind before you script anything with it. A single state filter removes the State column from the output, so a pipe into grep ESTAB silently counts zero. The ss filters section shows the capture and the two fixes.

Read Addresses and Links with ip -br

Start with the brief flag. ip -br addr and ip -br link print one line per interface, which is the output you want when you just need to know what is up and which address it holds. On our Ubuntu 26.04 VM the address shows as a /32, because Google Cloud hands out /32 leases over DHCP and routes the gateway as a host route. That is normal there, not a misconfiguration.

ip -br addr and ip -br link brief output on Ubuntu 26.04

The full form, ip addr show dev ens4, adds the altnames and lease lifetimes you see above. Interface names differ by image: the Ubuntu VM calls its NIC ens4, while the Rocky Linux 10 image on the same cloud names it eth0 and lists ens4 only as an altname. Both names work in every ip command.

To practise without touching the real NIC, create a dummy interface and work on that. Adding a second address in the same subnet is where ip earns its place, because the kernel marks the extra one as secondary:

sudo ip link add dummy0 type dummy
sudo ip addr add 10.20.0.1/24 dev dummy0
sudo ip link set dummy0 up
sudo ip addr add 10.20.0.2/24 dev dummy0
ip addr show dummy0

Both addresses are listed, and the second carries the secondary flag:

3: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether b2:72:f1:3e:35:8d brd ff:ff:ff:ff:ff:ff
    inet 10.20.0.1/24 scope global dummy0
       valid_lft forever preferred_lft forever
    inet 10.20.0.2/24 scope global secondary dummy0
       valid_lft forever preferred_lft forever
    inet6 fe80::b072:f1ff:fe3e:358d/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever

This is the main reason to stop reading ifconfig output. With the same two addresses in place, ifconfig dummy0 printed only inet 10.20.0.1, while ip -br addr show dummy0 listed 10.20.0.1/24 10.20.0.2/24. If a service binds to an address you can’t find in ifconfig, this is why.

ifconfig shows one address while ip addr shows the secondary address too

Link changes follow the same ip link set pattern. After sudo ip link set dummy0 promisc on, the brief view shows the flag straight away, which makes it easy to check before you start a packet capture:

dummy0           UNKNOWN        b2:72:f1:3e:35:8d <BROADCAST,NOARP,PROMISC,UP,LOWER_UP> 

Turn it off again with promisc off once the capture is done, since a NIC left in promiscuous mode passes every frame on the segment up the stack.

Add Static Routes with ip route

Linux ip route commands come in two kinds: routes through a gateway (via) and routes straight out of a device (dev). We added one of each on dummy0 and then asked the kernel which path it would pick. ip route get is the command worth memorising here. It tells you where a packet to that address will go, so you don’t have to work it out from the table yourself.

sudo ip route add 10.50.0.0/24 via 10.20.0.254
sudo ip route add 172.16.10.0/24 dev dummy0 metric 50
ip route show
ip route get 10.50.0.9

The kernel added a connected route for 10.20.0.0/24 on its own when the address went on, and the lookup resolves through the gateway we set:

ip route add static routes and ip route get lookup on Linux

To change a gateway, use replace rather than a delete followed by an add. It overwrites the existing route in one step, so there is no gap where traffic has no path, and it also adds the route if it doesn’t exist yet:

sudo ip route replace 10.50.0.0/24 via 10.20.0.253
ip route show 10.50.0.0/24

The route now points at the new gateway:

10.50.0.0/24 via 10.20.0.253 dev dummy0 

One thing caught us out in the lab. Taking an interface down with ip link set dummy0 down deletes every static route that uses it, and bringing it back up restores only the kernel’s connected route. Your via routes are gone until you add them again, which is another reason to keep them in netplan or NetworkManager, as covered in the persistence section.

Route by Source with ip rule

Normal routing only looks at the destination. Policy routing lets you choose a table by source address, firewall mark or interface, which is how you send one subnet out a second uplink or a VPN. The kernel walks the rule list in priority order and stops at the first table that holds a matching route. The ip-rule man page lists every selector; source and table cover most real setups.

Put the routes in a numbered table first, then add a rule that points traffic from 10.20.0.0/24 at it:

sudo ip route add 10.60.0.0/16 via 10.20.0.254 table 100
sudo ip route add default via 10.20.0.254 dev dummy0 table 100
sudo ip rule add from 10.20.0.0/24 table 100 priority 1000
ip rule show

The new rule sits at priority 1000, between the local table and main:

0:	from all lookup local
1000:	from 10.20.0.0/24 lookup 100
32766:	from all lookup main
32767:	from all lookup default

The proof is in two lookups for the same destination. Without a source, 10.99.0.5 leaves through the cloud gateway on ens4. Add from 10.20.0.1 and the kernel answers from table 100 instead, through the dummy0 gateway:

ip rule policy routing sending a source subnet to routing table 100

Always test with ip route get ... from before you rely on a rule. A typo in the table number does not produce an error. It just means the rule points at an empty table and the lookup falls through to main. If you run more than one or two tables, name them. Current iproute2 ships its defaults in /usr/share/iproute2/rt_tables, and neither of our VMs had an /etc/iproute2/rt_tables, so add your names in a file such as /etc/iproute2/rt_tables.d/custom.conf. The name has to end in .conf or ip ignores it. If you create /etc/iproute2/rt_tables instead, ip reads it in place of the shipped file rather than merging the two.

Manage Neighbours and Script with JSON

ip neigh is the ARP table for IPv4 and the NDP cache for IPv6. A permanent entry is useful when a device answers ARP badly or when you want to pin a gateway MAC. Add one and read it back:

sudo ip neigh add 10.20.0.50 lladdr 52:54:00:12:34:56 dev dummy0 nud permanent
ip neigh show dev dummy0

The entry shows as PERMANENT, so the kernel never ages it out:

10.20.0.50 lladdr 52:54:00:12:34:56 PERMANENT 

For scripts, skip text parsing and use -j. The global -j flag prints JSON for addresses, links and routes, and -p pretty-prints it. With jq installed, pulling the destinations out of table 100 is one line:

ip -j route show table 100 | jq -r '.[].dst'

The default route comes back as the literal string default, which matters if your script expects every value to be a CIDR:

default
10.60.0.0/16

Plain grep still works fine for quick checks. ip -br addr | grep -v '^lo' drops the loopback line and ip route | grep default prints just the default route, both tested exactly as written here.

Build a Network Namespace with a veth Pair

A network namespace is a separate network stack with its own interfaces, routes and firewall, and it is the same building block Docker and Podman use for every container. A veth pair works like a virtual cable: one end stays on the host, the other moves into the namespace. This sequence ran the same on Ubuntu 26.04 and Rocky Linux 10:

sudo ip netns add blue
sudo ip link add veth-host type veth peer name veth-blue
sudo ip link set veth-blue netns blue
sudo ip addr add 10.200.1.1/24 dev veth-host
sudo ip link set veth-host up
sudo ip netns exec blue ip addr add 10.200.1.2/24 dev veth-blue
sudo ip netns exec blue ip link set veth-blue up
sudo ip netns exec blue ip link set lo up
sudo ip netns exec blue ip route add default via 10.200.1.1

Don’t skip ip link set lo up inside the namespace. A new namespace starts with loopback down, and anything that talks to 127.0.0.1 in there fails in confusing ways until you bring it up. Check both ends and ping across:

ip netns with a veth pair and ping between namespaces on Rocky Linux 10

The @if5 suffix on veth-blue is the interface index of its peer, which stays on the host (on the host side, ip -br addr show veth-host printed veth-host@if4). ip -n blue is shorthand for ip netns exec blue ip and saves typing when you only need ip itself. Pings ran in about 0.06 ms, from the host and from inside the namespace, since the traffic never leaves the kernel.

Add a VLAN Subinterface

An 802.1Q VLAN interface is a child of a parent link that tags its frames with a VLAN ID. We reused the veth pair as a trunk and put VLAN 100 on both ends, so the test needs no switch:

sudo ip link add link veth-host name veth-host.100 type vlan id 100
sudo ip addr add 10.100.0.1/24 dev veth-host.100
sudo ip link set veth-host.100 up
sudo ip netns exec blue ip link add link veth-blue name veth-blue.100 type vlan id 100
sudo ip netns exec blue ip addr add 10.100.0.2/24 dev veth-blue.100
sudo ip netns exec blue ip link set veth-blue.100 up

The -d (details) flag is how you confirm the tag. Look for vlan protocol 802.1Q id 100 on the third line:

ip link VLAN 100 subinterface with 802.1Q details and ping

Older guides tell you to read /proc/net/vlan/config. As a normal user on Rocky 10 that returned “Permission denied”, so either prefix it with sudo or use ip -br link show type vlan, which needs no privileges. On a physical NIC the commands are identical: swap veth-host for eno1 or whatever your trunk port is called. If you’re picking VLAN subnets, the subnetting cheat sheet has the mask and host-count tables.

List Listening Ports with ss -tulpn

ss -tulpn is the command most people want from this whole page: TCP (t) and UDP (u) sockets that are listening (l), with the owning process (p) and numeric ports (n). Run it with sudo. Without root, ss still lists every socket but fills in the process column only for your own processes, so on our Ubuntu VM the plain run showed python3 on 8080 and left sshd blank.

sudo ss -tulpn listening TCP and UDP ports with process names

Port 22 lists two owners, sshd and systemd as PID 1. Ubuntu 26.04 starts SSH through ssh.socket, so systemd holds the listening socket too. The Send-Q column on a LISTEN line is the backlog limit: 4096 for sshd on Ubuntu against 128 on Rocky Linux 10. For the full side-by-side with the old tool, see our netstat vs ss guide.

To answer “is anything on port 8080?”, filter instead of grepping the whole list:

ss -ltn 'sport = :8080'

Any LISTEN line means the port is taken (a dual-stack service shows two, one for IPv4 and one for IPv6). An empty table under the header means it’s free:

State  Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0      5            0.0.0.0:8080      0.0.0.0:*   

ss -s gives the totals when you only want the shape of things. Ours reported 10 TCP sockets with 5 established, which is a quick sanity check before you dig into individual connections.

Filter ss by State, Port and Address

ss hands TCP filters to the kernel’s socket diagnostics interface, so the kernel returns only matching sockets instead of ss reading every line of /proc/net/tcp the way netstat does. These are the three filters you’ll use most:

  • State: state established, state time-wait
  • Port: sport or dport with =, >=, <=
  • Address: src or dst with an IP or CIDR

Combine them with and and or, and quote the expression so your shell leaves the parentheses alone. The ss man page lists every state name you can pass.

For the tests below, a second VM held two connections open to an nc listener on port 9000. That setup exposes the trap from the quick reference. Once you give ss a single state filter, it drops the State column because every row would say the same thing, and grep -c ESTAB counts nothing:

ss state established filter drops the State column so grep ESTAB counts zero

Two connections exist, yet the grep printed 0 and exited 1, so a monitoring script would report the service idle. We saw the same output on Ubuntu 24.04 and Rocky Linux 10, and the column drop is written into upstream ss itself, so it is not a distro patch. You have two fixes, both shown in the capture:

  1. Drop the state filter and keep grep -c ESTAB
  2. Keep the filter, add -H and count with wc -l

We use the second in scripts because it does not depend on the column layout at all, so a future ss release that reorders columns won’t break your check.

Address and port filters combine the same way. This shows connections from one peer to the 9000 listener:

ss -tn state established 'dst 10.128.15.193 and sport = :9000'

Both client ports appear:

Recv-Q Send-Q Local Address:Port  Peer Address:Port
0      0      10.128.15.192:9000 10.128.15.193:57764
0      0      10.128.15.192:9000 10.128.15.193:57766

Port ranges work with comparison operators. Listing every listener from 8000 to 9999 caught both the web server and nc:

ss -tln 'sport >= :8000 and sport <= :9999'

Note the Recv-Q of 1 on the 9000 listener:

State  Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 1      1            0.0.0.0:9000      0.0.0.0:*
LISTEN 0      5            0.0.0.0:8080      0.0.0.0:*   

That 1 is a real finding, not noise. On a LISTEN socket, Recv-Q counts connections that finished the handshake but haven’t been accepted yet. nc -lk accepts one client at a time. That’s why sudo ss -tnp showed the nc process on the first connection and a blank process column on the second, which was still in the accept queue. A Recv-Q that climbs toward Send-Q on a production listener means the application is not calling accept() fast enough.

Two more filters earn a place in the toolbox. ss -tan state time-wait lists sockets waiting out their close timer (three curl calls to the local web server left four), and this one-liner counts sockets per state:

ss -tan | awk 'NR>1 {print $1}' | sort | uniq -c

On the Ubuntu VM it printed:

      5 ESTAB
      5 LISTEN
      4 TIME-WAIT

Finally, sudo ss -K kills every socket that matches a filter, which is handy for dropping a stuck client without restarting the service. Pass -t with it. Our first run, sudo ss -K dst 10.128.15.193 sport = :9000, closed both connections but still printed “RTNETLINK answers: Invalid argument”. Most likely ss was also querying socket families the kernel can’t close, since the error only shows up when no protocol flag is given. With sudo ss -K -t the same filter listed the killed socket with no error, and a follow-up ss -tn '( sport = :9000 )' came back empty. It needs a kernel built with CONFIG_INET_DIAG_DESTROY, which both the Ubuntu and Rocky kernels have.

Map ifconfig and netstat to ip and ss

The difference between ifconfig and ip comes down to the kernel interface each one uses. The old commands come from net-tools, which reads the legacy ioctl and /proc interfaces and hasn’t had a release in years. ip and ss come from iproute2 and speak netlink, so they see secondary addresses, policy rules, namespaces and socket details that net-tools cannot. Every legacy command below was run on Rocky Linux 10 next to its replacement, because the Rocky 10 cloud image still ships net-tools (its install time matches the rest of the image).

net-tools (old)iproute2 (current)
ifconfigip addr or ip -br addr
ifconfig -aip addr (ip link for links only)
sudo ifconfig dummy0 downsudo ip link set dummy0 down
sudo ifconfig dummy0 mtu 1450sudo ip link set dummy0 mtu 1450
sudo ifconfig dummy0:1 10.20.0.9 netmask 255.255.255.0sudo ip addr add 10.20.0.9/24 dev dummy0
route -nip route
sudo route add -net 10.70.0.0 netmask 255.255.255.0 gw 10.20.0.254sudo ip route add 10.70.0.0/24 via 10.20.0.254
arp -nip neigh
sudo netstat -tulpnsudo ss -tulpn
netstat -tnss -tn
netstat -rnip route
netstat -iip -s -h link
netstat -gip maddr show
netstat -snstat -az

The alias row deserves a note. ifconfig dummy0:1 still works, and ip addr show lists the result as a secondary address with the label dummy0:1. Labels are cosmetic in iproute2, so you don’t need them; plain ip addr add puts as many addresses on one interface as you like. Likewise, route add created the same 10.70.0.0/24 via 10.20.0.254 dev dummy0 entry that ip route would, so mixing the two during a migration doesn’t break anything.

On counters, netstat -i and ip -s -h link show dummy0 agreed on six transmitted packets, and netstat -s maps to nstat, which reads the same kernel SNMP counters by name, for example nstat -az TcpActiveOpens.

Install ip, ss, ifconfig and netstat

Full server installs ship iproute2, but minimal container images often ship nothing. In the official Fedora 45 and Debian 13 container images, even ip returned “command not found”, while the Arch image already had iproute2 but still needed net-tools. net-tools is a separate install everywhere it is missing, including Ubuntu 26.04. These are the package names we tested:

DistroInstall commandBinary paths
Ubuntu, Debiansudo apt install iproute2 net-toolsip, ifconfig in /usr/sbin; ss, netstat in /usr/bin
Rocky, Alma, RHELsudo dnf install iproute net-toolsip, ss, ifconfig in /usr/sbin; netstat in /usr/bin
Fedorasudo dnf install iproute net-toolsall four in /usr/sbin (merged with /usr/bin)
Arch Linuxsudo pacman -S iproute2 net-toolsall four in /usr/sbin

Note the package name: it’s iproute on the dnf side and iproute2 on apt and pacman, so copy the right one for your package manager. Once installed, ip -V prints the iproute2 version, which is worth checking because a few flags (JSON output on some objects, newer ss filters) depend on it.

Should you install net-tools at all? Only for old scripts you can’t change yet. For anything new, ip and ss are on every system that has a network, and they show things ifconfig does not, as the secondary-address capture above proved.

Fix Common ip and ss Errors

These are the messages we triggered in the lab, each with the command that caused it and the fix.

bash: ip: command not found

The iproute2 package isn’t installed, which happens in slim container images such as Fedora and Debian. Install iproute with dnf or iproute2 with apt as shown above. On a full server, check PATH instead: ip lives in /usr/sbin, and a stripped PATH in a cron job or a non-login shell can leave it out.

RTNETLINK answers: Operation not permitted

You ran a change as a normal user. ip addr add 10.20.0.5/24 dev dummy0 without sudo returns this, and ip addr flush returns the related “Failed to send flush request: Operation not permitted”. Repeat the command with sudo. Read-only commands such as ip addr and ip route never need it.

RTNETLINK answers: File exists

The route or address is already there. Adding 10.50.0.0/24 via 10.20.0.254 a second time produced it. Check with ip route show 10.50.0.0/24, and in scripts use ip route replace, which succeeds whether the route exists or not.

Error: Nexthop has invalid gateway

The gateway isn’t reachable on any directly connected subnet. sudo ip route add 10.80.0.0/24 via 192.168.77.1 failed this way because nothing on the host had an address in 192.168.77.0/24. Pick a gateway inside a connected subnet, or add the address first so the kernel has a connected route to it.

Cannot open network namespace “red”: No such file or directory

The namespace doesn’t exist, or it was created by a tool that does not register it under /run/netns. List the known ones with ip netns list and create a missing one with sudo ip netns add red. Docker and rootless Podman keep their namespaces elsewhere, so their containers won’t show up in that list.

Static routes vanish after ip link set down

No error is printed, which makes this one worse. After sudo ip link set dummy0 down, ip route show dev dummy0 came back empty, and after up only the kernel route 10.20.0.0/24 proto kernel scope link src 10.20.0.1 returned. Add the static routes again, or define them in the network config so the manager restores them.

Make Changes Survive a Reboot

Everything the ip command does is live and temporary. Addresses, routes, rules, namespaces and VLANs all vanish at reboot, and a network manager can overwrite them sooner when it reapplies its config. Use ip to test and diagnose, then write the result into whatever manages the network on that host:

The routing commands in this sheet come up constantly once you run a VPN. A WireGuard server on Rocky Linux is a good place to use them: ip route get tells you whether a peer’s traffic takes the tunnel, and ss -ulpn confirms the UDP port is listening. For the remote-access side, the SSH commands cheat sheet pairs well with this one.

If you take one habit from this page, make it ip -br for a quick look and ip route get before you change any route. Between them, they answer most “why can’t this host reach that one” questions in seconds. For network gear, the CCNA command cheat sheet covers the Cisco IOS side of the same work. And if you want the theory behind netlink, namespaces and traffic control in one place, Linux for Networking Professionals from Packt is the book we’d hand a sysadmin moving into network work; it dates from 2021, so pair its examples with the tested output here.

Keep reading

How to Upgrade Fedora 44 to Fedora 45 (GUI, CLI and Rollback) Fedora How to Upgrade Fedora 44 to Fedora 45 (GUI, CLI and Rollback) Upgrade Ubuntu 24.04 to Ubuntu 26.04 LTS (Step by Step) Ubuntu Upgrade Ubuntu 24.04 to Ubuntu 26.04 LTS (Step by Step) UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Build a FHIR MCP Server for MedGemma 2 with Ollama AI Build a FHIR MCP Server for MedGemma 2 with Ollama Install Nix Package Manager on Fedora 45 / 44 with SELinux Fedora Install Nix Package Manager on Fedora 45 / 44 with SELinux How To Connect To Bluetooth Device from Linux Terminal Arch Linux How To Connect To Bluetooth Device from Linux Terminal

2 thoughts on “ip Command Cheat Sheet: ifconfig vs ip and ss Examples”

  1. In the example to setting static IP – the ip/netmask value should read 192.168.1.10/24 instead of 192.168.1.10/34.

    Cheers – Hans

    Reply

Leave a Comment

Press ESC to close