From the course: Linux: Files and Permissions

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Challenge: Linux files

Challenge: Linux files

(bright music) - [Instructor] You've now come to the end of the Linux files chapter. This challenge will test your knowledge and understanding of what you've learned. This challenge will focus on creating files and directories and listing them using various forms of pattern creation and pattern matching. Let's give this challenge a real-world scenario. You're managing the files in a 24-hour security camera. It saves a JPEG photo every minute, and it saves an MPEG video file every 10 minutes. It has seven days of storage on the camera and then overwrites the previous week's files. This challenge comes in two parts. Part one, you need to create the directories and files for 24 hours a day for seven days. Part two, you need to create a pattern to list every 10th photo and every video. You'll use this pattern with the LS command, but it could be used with the CP, MV or RM commands as well so you could back up or archive these…

Contents