Make a verified backup
Command arguments
Make a verified backup
Goal
Copy the file containing ready to backup.txt, then read backup.txt.
Preview board
Not runAdd instructions, then run your pseudocode.
Pseudocode
0 / 4 instructionsReady to run.
How it works
Command arguments
Inspect file contents and distinguish source from destination.
Key rule
ls lists virtual files; cat NAME reads one; cp SOURCE DESTINATION copies its contents. This is a bounded simulator, not your computer or a general shell.
Worked example
Different example: cat example.txt inspects a virtual file; cp example.txt copy.txt creates a copy. Names alone do not prove which content a file contains.
Win condition
Complete the pseudocode and concept check.
Show a hint
cp takes the source name first and destination name second. cat verifies the copy.
Edit text
Enter one instruction per line. You can use the displayed pseudocode or commands from the reference.