#!/bin/bash
sudo vi /etc/apache2/sites-available/default && \
sudo /etc/init.d/apache2 restart && \
sudo rsync -auvzH /etc/apache2/sites-available/default `my_twin -u`:/etc/apache2/sites-available/default && \
sudo ssh `my_twin -u` /etc/init.d/apache2 restart


syntax highlighted by Code2HTML, v. 0.9.1