Sooner or later a file you need is on another machine. scp copies over an encrypted link, and rsync does the same job while sending only what has changed. The safest habit is to preview the change before you commit to it.
Each one is marked as you go, and the explanation arrives straight after, which is
the part worth reading.
4 questions, marked as you go.
Tasks
These need your own device. Run the command in Termux, then paste what it printed.
The marking looks at what the output means, so spacing, version numbers and
ordering do not matter. If you have not installed anything yet, the
lesson covers the setup.
Preview a transfer before it happens
This builds a small directory of notes and an empty destination, then asks rsync to show what it would copy across. The dry run compares the two sides and prints the list, but moves nothing.
Run this in Termux
On your own device. Nothing on this page executes it. The command runs in
your terminal, and this box only reads what you paste back.
The list should name the two files, and the last line should say the run was a dry run.
rsync reports the file list it would send
the draft file appears in the list
the run was a dry run, so nothing moved
the commands actually ran
What a good answer looks like
The line sending incremental file list, then the names of the files that would move, then a blank line and a short summary ending with (DRY RUN). The trailing slash on ~/notes/ is what puts the contents into the destination rather than the directory itself, so the file names appear at the top level of the list. Nothing was copied: the summary reports the bytes that would be sent, and the marker confirms the run stopped short of moving them. That is the safe way to check a command, and it matters most when you later add --delete.
Marking your own work
Both halves of this are checked in your browser, with no server involved, so nothing
stops you from pasting output you did not run. The tasks are written so that the
easiest way to pass one is to actually do it and read the result, which is the whole
intention.