syntax

How do I write an infinite loop in Bash script under Linux or UNIX like operating systems?

{ 8 comments }

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?

{ 6 comments }

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?

{ 0 comments }

How do I convert from octal to hex number using bc UNIX / Linux command line utility?

{ 0 comments }

Iptables Drop IP Address

by on November 20, 2010 · 3 comments

How do I block particular IP addresses or host with the iptables command under Linux?

{ 3 comments }

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

{ 26 comments }

I‘ve tons of images, css and javascript hosted at backend server IP 192.168.1.5 and 192.168.1.6. How do I make sure nginx reverse proxy load balancer always send all http_user_agent requests coming from “Mozilla” to server 192.168.1.5 and MSIE to server 192.168.1.6 only?

{ 2 comments }