What this snippet does
The trailing slash on the source copies its contents, and --delete removes extras at the target.
Expected output
sent 4.21M bytes received 1.42K bytes
Why practise typing this
Typing archives & transfer code builds muscle memory for the symbols and indentation Linux uses most, which prose-based typing tests never cover. DevType measures your words per minute and accuracy on this snippet and tracks the individual characters you mistype, so later lessons can target them.
More Linux practice
- Creating a compressed archiveArchives & Transfer · beginner
- Extracting to a directoryArchives & Transfer · beginner
- Listing an archive before extractingArchives & Transfer · intermediate
- Archives can contain absolute pathsArchives & Transfer · intermediate
- The trailing slash changes everythingArchives & Transfer · intermediate
- Resuming a large transferArchives & Transfer · advanced