12 September 2014

Apache config file syntax check.

To check the syntax of a apache config file.


httpd -S -f [config file.conf]

13 August 2014

Copy files between 2 remote servers using cpio.

ssh rhost1 "find dir | cpio -ocB" | ssh rhost2 "cd rdir2;cpio -ivB "