Interview Questions

What is the command to copy file from local machine to remote machine using SCP?

scp local_user_name@localhost:/file_path remote_user@remote_server_ip:/remote_server_path

Example: scp sibi@localhost:/tmp/test.txt root@1.2.3.4:/tmp/destDir