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

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?