Services Work Learn About Contact
0/6
Lesson 5 of 6

Permissions & Users

Every file has permissions: who can read, write, or execute it. Use chmod to change permissions. On servers, you often need to set the right permissions for web files to work correctly.

TERMINAL
# Show file permissions
ls -la

# Make a file executable
chmod +x script.sh

# Give read/write/execute to owner, read to others
chmod 755 file.php

# Change file owner
chown user:group file.txt
🧠

Quick Quiz

Answer correctly to unlock the next lesson.

Support the mission

This learning platform is 100% free: no ads, no tracking, no paywalls. If it helped you learn something useful, you can support future lessons or donate to Doctors Without Borders, which provides emergency medical care in crisis zones worldwide.

🎉

You completed Terminal!

You finished all 6 lessons and quizzes. You now know the basics of Terminal.