≡ Menu


Linux: rsync Copy Directories Structures Tree Only

I am looking for to only sync directories structures only. How do I copy directory structure tree without copying any files under Linux or UNIX operating system to remove server or local directory?
[click to continue…]

Linux / UNIX: Bash Loop Forever

I need to cycles through a loop forever using for or while syntax. How do I set such loop under UNIX or Linux operating systems?
[click to continue…]

How do I convert from octal to hex number using bc UNIX / Linux command line utility?
[click to continue…]

Iptables Drop IP Address

How do I block particular IP addresses or host with the iptables command under Linux?
[click to continue…]

vi Find And Replace Text Command

How do I find and replace (substitute) test using vi or vim text editor under UNIX / Linux / BSD or Apple OS X operating systems?
[click to continue…]

I've tons of images, css and javascript hosted at backend server IP and How do I make sure nginx reverse proxy load balancer always send all http_user_agent requests coming from "Mozilla" to server and MSIE to server only?
[click to continue…]

I'm using tcpdump to dump, debug and monitor traffic on a network. However, there is lots of noise and I would like to exclude ssh from my dumps. How do I monitor all traffic except my ssh session?
Answer to