Dec 21 2008
Synchronize Directories with Rsync and SSH
To copy or synchronize data across servers with SSH encryption benefits, run on the target:
rsync -avz -e ssh remoteuser@remotehost:/remote/dir /local/dir/

Dec 21 2008
To copy or synchronize data across servers with SSH encryption benefits, run on the target:
rsync -avz -e ssh remoteuser@remotehost:/remote/dir /local/dir/
Dec 21 2008
Here’s a package managers basic commands quick reminder/comparative for (in this order)
- Linux Debian/Ubuntu,
- Linux Redhat/Suse and
- Solaris/OpenSolaris.
rpm and dpkg are basic package managers while yum (rpm) and apt-get/aptitude (dpkg) manage dependancies and (online) repositories.
# List ALL installed packages
dpkg –list
rpm -qa | grep rpm
pkginfo
# Remove package
dpkg –remove package or
aptitude remove package or
apt-get remove package
rpm -e [...]