Skip to content

Linux File Permissions & Environment Variables – Full Quiz

Back to File Permissions & Environment Variables
Back to Linux Commands
Back to Quiz Home


This quiz contains 20 questions covering Linux file permissions and environment variables. It helps DevOps engineers understand security, access control, and runtime configuration on Linux systems.


#

Which permission allows reading a file?

#

Which permission allows modifying a file?

#

Which permission allows executing a file?

#

In file permissions, what does the first character - indicate?

#

What does the permission string drwxr-xr-x represent?

#

Which numeric value represents read permission?

#

Which numeric value represents write permission?

#

Which numeric value represents execute permission?

#

What does chmod 600 file.txt mean?

#

What does chmod 755 file.sh allow?

#

Which command changes file ownership?

#

Which command changes only the group ownership?

#

Which option with chown applies ownership recursively?

#

Which command prints all environment variables?

#

Which command prints a single environment variable?

#

Which command exports a shell variable to child processes?

#

Which file permission allows entering a directory?

#

Which command displays environment variables in key=value format?

#

Which command is used to view the current PATH?

#

Which permission setting prevents others from accessing a file?

Quiz Progress

0 / 0 questions answered (0%)

0 correct


📩 Get weekly DevOps quizzes & guides

📬 Weekly DevOps, Cloud & Gen AI quizzes & guides