Linux Basics

You are currently auditing this course.
27 / 107

Copy files of a particular extension

We can also copy all files of a particular extension to a directory by replacing source-name with *.extension.

INSTRUCTIONS
  1. Type cd ~ command to go to your home directory

  2. Create a directory z/y/x

  3. Copy all the files with extension .txt inside the directory x

Note - Make sure that the files myemptyfile.txt, myfirstfile.txt and myfirstfile_copy.txt created in the previous exercises still exist.


Loading comments...