Menu
CoddyTech

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

Note: The check lists the home directory and the documents folder itself, so an extra command of your own does not break it.

Try it yourself

Terminal

All lessons in Fundamentals

Practice on your own: Terminal playground