Your result

kody
Join Kody

Make a verified backup

Change activity
Command arguments

Make a verified backup

Goal

Copy the file containing ready to backup.txt, then read backup.txt.

Preview board

Not run

Add instructions, then run your pseudocode.

Pseudocode

0 / 4 instructions

    Ready 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.

    Related modules
    Edit text

    Enter one instruction per line. You can use the displayed pseudocode or commands from the reference.

    Command reference

    WELCOME TO KODY

    A little play. A lot of possibility.

    I’m Kody, your coding companion. Your adventure is ready. Let’s find our way around.

    Log in