Line At A Time
Level 11: Copying a File
Copying a File Make a spare copy before you change something.

COPY takes two names: the file to copy from, then the name to copy it to. Read it left to right, like a sentence. The original is untouched.

Notice that COPY reports how many files it copied. MS-DOS commands are chatty in a way bash commands are not: DOS assumed you wanted telling, bash assumes you want quiet.

TYPE the copy afterwards to see the same words in a different file.

COPY HELLO.TXT BACKUP.TXTCopy to a new name.
COPY HELLO.TXT GAMESCopy into a folder.
Your task
  • Copy HELLO.TXT to a new name
  • Read the copy with TYPE

Open this level in your browser to type the commands at a live terminal that answers back.