Menu
Coddy logo textTech

Recap - File Operations

Part of the Fundamentals section of Coddy's Terminal journey — lesson 15 of 82.

challenge icon

Challenge

Easy

Put all your file operation skills together! You must execute the following commands in order to complete the task:

  1. Create a new file called newfile.txt using touch
  2. Copy newfile.txt to backup.txt using cp
  3. Move backup.txt into the documents folder using mv
  4. Delete newfile.txt using rm
  5. List the contents of the current directory using ls
  6. List the contents of the documents folder using ls documents

Important: The test checks the output of your commands. Please run only these six commands in the exact order listed above. Do not run extra commands, as they will add extra output and cause the test to fail.

Try it yourself

Terminal

All lessons in Fundamentals