AI Workshop: learn to build apps with AI →
File Operations
Learn how to create, copy, move, and delete files and directories. Master file permissions and ownership in Linux.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


Managing files and directories is one of the most common tasks in Linux. Understanding how to create, copy, move, and delete files efficiently, along with controlling who can access them, is fundamental to working in any Linux environment.

In this unit, you’ll learn essential file operations in Linux. We’ll cover creating and removing files and directories, copying and moving files, and the crucial topic of file permissions and ownership. You’ll understand how Linux’s permission system works and how to manage access to your files.

These skills are essential for organizing projects, managing configurations, and maintaining security on any Linux system.

Lessons in this unit:

0: ▶︎ Introduction
1: mkdir - Make Directory
2: rmdir - Remove Directory
3: touch - Create/Update Files
4: cp - Copy Files
5: mv - Move/Rename Files
6: open - Open Files
7: ln - Create Links
8: chmod - Change File Permissions
9: chown - Change File Owner
10: umask - Set Default Permissions