Skip to content

Instantly share code, notes, and snippets.

@Monmoy042
Last active August 18, 2021 05:10
Show Gist options
  • Save Monmoy042/7cd6bfd671bd60e742cdfe08475a67bd to your computer and use it in GitHub Desktop.
Save Monmoy042/7cd6bfd671bd60e742cdfe08475a67bd to your computer and use it in GitHub Desktop.

Show all network interface card(NIC) info

ip link

Interface configuration files

/etc/hostname
/etc/nsswitch.conf
/etc/resolv.conf
/etc/sysconfig/network-scripts/ifcfg-nic

Show ip address

ifconfig
ip addr
ip a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment