Search
Tuesday, October 23, 2018

Linux Network Commands

General

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>

Windows

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 2018 by Exweeto Terms Of Use Privacy Statement