Linux General Question:
Download Questions PDF

What is the differences between scp and rsync in Linux?

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 Interview Questions And Answers PDF

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?