$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
chmod (File Permissions)
Reset Lesson
Learn to view and change file permissions with ls -l and chmod.
Step 1
View file permissions using ls -l.
Type: ls -l documents/readme.txt
ls -l documents/readme.txt
Step 2
Make readme.txt executable with chmod 755 (rwxr-xr-x).
Step 3
Verify the permission change with ls -l.
Step 4
Restore default permissions with chmod 644 (rw-r--r--).
Step 5
Check permissions of setup.sh - it should already be executable.