Show information about an address or network with a given subnet mask

ipcalc

  • Perform simple operations and calculations on IP addresses and networks.
    More information: <https://manned.org/ipcalc>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ipcalc {{1.2.3.4}} {{255.255.255.0}}

click the source code to copy install ipcalc on any operating system with command-not-found.com