skip to main | skip to sidebar

Linux

My Linux hack notes

12 September 2014

Apache config file syntax check.

To check the syntax of a apache config file.


httpd -S -f [config file.conf]

Posted by stanlo at 8:19 AM 0 comments
Labels: apache

13 August 2014

Copy files between 2 remote servers using cpio.

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

Posted by stanlo at 3:44 PM 0 comments
Labels: cpio, ssh
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
stanlo
View my complete profile

Labels

  • apache (1)
  • backups (1)
  • cpio (2)
  • freebsd (1)
  • grub (1)
  • hardware (1)
  • iostat (1)
  • large files (1)
  • linux (3)
  • passwd (1)
  • raspberry pi (1)
  • sparse files (1)
  • ssh (1)
  • sudo (1)
  • TP-Link (1)
  • usb (1)
  • vmstat (1)
  • watch (1)
  • wget (1)
  • wifi (1)

Blog Archive

  • ►  2019 (1)
    • ►  March (1)
  • ▼  2014 (2)
    • ▼  September (1)
      • Apache config file syntax check.
    • ►  August (1)
      • Copy files between 2 remote servers using cpio.
  • ►  2011 (1)
    • ►  June (1)
  • ►  2009 (3)
    • ►  August (2)
    • ►  January (1)
  • ►  2008 (3)
    • ►  August (1)
    • ►  May (1)
    • ►  January (1)
  • ►  2007 (2)
    • ►  July (1)
    • ►  June (1)