Wednesday, July 28, 2021

Linux Network Commands


Look up the domain for an IP host <IP> or dig -x <IP>
Display contents of ARP table arp
Set a new ARP entry arp -s <host> <hwaddr/MAC>


Mount a Windows share Need root privileges
mkdir /mnt/<mntname>
mount -t cifs //<IP>/<share> -o username=<user>,password=<passwd> /mnt/<mntname>

“If I had eight hours to chop down a tree, I'd spend the first six of them sharpening my axe.”

Abraham Lincoln

Copyright 2021 by Exweeto Terms Of Use Privacy Statement