ifconfig or ip addr
show ip address
nmcli con show
show list of connections
nslookup
queries the DNS server for information about a domain name or IP address
iptables
sets up, maintains, and inspects the tables of IPv4/IPv6 packet filter rules in the Linux kernel firewall
ping host
send packets to host to check the connectivity
ping -c 5 host
send 5 packets to host
curl
facilitates the transfer of data to or from a server, using any of the protocols it supports
netstat
Displays network connections and network statistics, such as active sockets, routing tables, and network interface statistics
ss-keygen
Creates a pair of public and private authentication keys
ssh user@host
connect user to host using ssh
scp file1 user1@host:/dir
copy file1 from local to remote host host to /dir location
Comments