netstat -tupl --- list internet services on a system
netstat -tup --- list active connections to/from system
ip link show --- list interfaces
ethtool interface --- list interface status
ip link set dev eth0 name wan --- ip link set dev eth0 name wan
ip addr add 1.2.3.4/24 brd + dev eth0 --- add ip and mask(255.255.255.0)
ip link set dev interface up --- bring interface up (or down)
host pixelbeat.org --- lookup ip address for name or vice versa
hostname -i --- lookup local ip address (equivalent to host `hostname`)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment