How to use the umask command: 2-Minute Linux Tips

How to use the umask command: 2-Minute Linux Tips

Assessment

Interactive Video

Architecture, Social Studies

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the UMASK command, which sets default file permissions. It highlights that UMASK acts as a mask, meaning settings are the opposite of what might be expected. For instance, setting UMASK to 777 results in no permissions for files. Conversely, setting it to 000 grants read and write permissions but not execute. The tutorial also notes that UMASK changes do not affect existing files and that the current UMASK can be checked by typing 'umask'. Additionally, it discusses the relationship between UMASK and chmod, particularly the sticky bit.

Read more

2 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What will you see if you type 'umask' after logging into your account?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain the relationship between umask and chmod commands.

Evaluate responses using AI:

OFF