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!

  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

You will need to run six commands in order. Think carefully about each step before running it!

Try it yourself

Terminal

All lessons in Fundamentals