Linux General Question:

What is the differences between scp and rsync in Linux?

Tweet Share WhatsApp

Answer:

scp- copying files using ssh(secure copy) of the selected files from the source host to destination host and when finished closes the scp application

rsync- you need to setup the key authentication between the
servers that do the synchronization (to destinatio system to have the source public key in destination host's authorized_keys) and copies the files from source to destination whenever there is a change(addition/deletion) in the sounce directory .. can be pull/push/both

Download Linux General PDF Read All 25 Linux General Questions
Previous QuestionNext Question
What is the command to see on which port which
service is running? and What is the difference between /etc/services file and net stat command?
Is it possible to break the grub password in Linux?