Belajar Sendiri

Commands

scp

scp [-r] <from> <to>

Risk: Careful

What it does

Copies files over SSH. It overwrites a file with the same name there.

When to use it

To send or fetch a file, once.

Example

$ scp menu.txt kedai:

Send menu.txt to your home folder on kedai. Mind the colon.

$ scp kedai:menu.txt .

Fetch it back here.