Q. I run quite large network with different subnets. I’d like to know how can I find out duplicate IP address under Linux / UNIX? A. You can use arpping command. The arping utility performs an action similar to ping command, but at the Ethernet layer. You can send ARP REQUEST to a neighbor host [...]
Q. How do I check whether a directory is empty or not under Linux / UNIX using a shell script? I’d like to take some action if directory is empty. A. There are many ways to find out if a directory is empty or not under UNIX / Linux bash shell. You can use find [...]
by Vivek Gite on November 22, 2007 · 1 comment
Q. I can measure network throughput and packet loss using standard UNIX / Linux command line utilities. How do I find out the lateceny and throughput of a web server like Apache under Linux? A. You need to use the program called httping. It allows you to measure the latency of a webserver and the [...]
Q. How do I tunnel X Windows Securely over SSH? I’d like to run X program on my remote Linux server and get back display to Laptop computer connected by high speed internet? A. A tunneling protocol is a network protocol which encapsulates a payload protocol, acting as a payload protocol. Reasons to tunnel include [...]
Q. How can I copy one hard disk to another using dd command? A. dd command can copy disk in raw format. It will copy partition table and bootloader and all partitions within this disk. For example, you can copy /dev/sda to /dev/sdb (same size) using the following dd command. dd should complete with no [...]
How do I send an email attachment via KSH shell script under UNIX operating systems?
by Vivek Gite on November 19, 2007 · 1 comment
How do I remove a folder and all its contents including files and other folders?