Skip to content
skillbld
Linux Command Line · 14-day planAll days
Day 8 of 14 30 min

Linux decides who may read, change or run every file. Learn to read permission strings like -rwxr-x---, change them with chmod in letters and numbers, understand owners and groups, and use sudo to act as root safely, with the habits that keep servers secure.

By the end of today you can

  • Read a permission string such as -rwxr-x---
  • Explain owner, group and others, and read, write and execute
  • Change permissions with chmod, in symbolic and numeric form
  • Change owners with chown and run commands as root with sudo
  • Choose sensible permissions for scripts, private files and shared folders

What's inside

  • 5 sections
  • 2 diagrams and mind maps
  • 6 code examples you can run
  • 5-question quiz
  1. 1Reading permissions
  2. 2Permission denied
  3. 3chmod: changing permissions
  4. 4root and sudo
  5. 5chown: changing owners

Sign in free to read this lesson

Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.

Sign in free

Keep going

Day 8: Permissions & sudo · Linux Command Line · SkillBld