rsync

A shell variable may be assigned to by a statement using following syntax: var=value If value is not given, the variable is assigned the null string. In shell program it is quite useful to provide default value for variables. For example consider rsync.sh script: #!/bin/bash RSRC=$1 LOCAL=$2 rsync -avz -e ‘ssh ‘ user@myserver:$RSRC $LOCAL This […]

{ 4 comments }

How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? – A common question asked by new sys admin.

{ 58 comments }

This question asked again and again by a new Linux sys admins: How do I perform backups for my Linux operating system? So I am putting up all necessary information you ever need to know about backup. The main aim is to provide you necessary software, links and commands to get started as soon as […]

{ 14 comments }

This is Part II in a series on Execute Commands on Multiple Linux or UNIX Servers Simultaneously. The full series is Part I, Part II, and Part III. Many times, you want to execute a command not only on one server, but also on several servers. For example, find out Version of kernel Version of […]

{ 20 comments }