Session Review

Session ID: 135
Mode:
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: All

Back to Session

Question 1 (104.5-005 / multiple_choice)

For a directory, what does execute (x) permission allow?

Status: Unanswered

Your Answer:

Options:

Explanation:
On directories, execute permission means permission to enter the directory, though not necessarily list its files [1].

Question 2 (104.5-021 / short_answer)

Which command lists the permissions and attributes of the directory emptydir itself?

Status: Unanswered

Your Answer:

Accepted Answer(s):
ls -ld emptydir
ls -l -d emptydir

Explanation:
The guided exercise answer gives both forms, with ls -ld emptydir as the merged version [1].

Question 3 (104.5-004 / multiple_choice)

In file permissions, what is the octal value of execute permission?

Status: Unanswered

Your Answer:

Options:

Explanation:
Execute permission (x) has an octal value of 1 [1].

Question 4 (104.5-025 / short_answer)

What is the 4-digit octal notation for the file permission string '----r--r--'?

Status: Unanswered

Your Answer:

Accepted Answer(s):
0044

Explanation:
The lesson answer states that foo.bar with permissions ----r--r-- corresponds to 0044 [1].

Question 5 (104.5-002 / multiple_choice)

In file permissions, what is the octal value of read permission?

Status: Unanswered

Your Answer:

Options:

Explanation:
Read permission (r) has an octal value of 4 [1].

Question 6 (104.7-022 / command_line)

Enter the command that searches only the current directory for files writable by the user, modified in the last 10 days and larger than 4 GiB.

Status: Unanswered

Your Answer:

Accepted Answer(s):
find . -maxdepth 1 -type f -writable -mtime -10 -size +4G

Explanation:
This guided exercise is within Objective 104.7 and is answered using standard find syntax consistent with the lesson scope [1].

Question 7 (104.5-013 / multiple_choice)

What command can be used to see the attributes of a directory itself instead of listing its contents?

Status: Unanswered

Your Answer:

Options:

Explanation:
The guided exercise answer explains that adding -d to ls shows the file attributes of a directory itself, as in ls -ld emptydir [1].

Question 8 (103.6-011 / multiple_choice)

What is the probable cause of the error 'renice: failed to set priority ... Permission denied' when trying 'renice -10 21704'?

Status: Unanswered

Your Answer:

Options:

Explanation:
The answer to the exercise states that only root can decrease nice numbers below zero [1].

Question 9 (104.5-014 / multiple_choice)

What would the default permissions for a regular file be if umask is set to 027?

Status: Unanswered

Your Answer:

Options:

Explanation:
For regular files, the default base mode is typically 666. Applying umask 027 results in 640. This exact answer is implied by standard Linux umask behavior and referenced by the lesson’s guided exercise on umask [1].

Question 10 (104.5-027 / command_line)

Enter the command that changes emptyfile so only others gain read permission when starting from 000 permissions.

Status: Unanswered

Your Answer:

Accepted Answer(s):
chmod 4 emptyfile

Explanation:
The lesson demonstrates that chmod 4 emptyfile changes only the others permission set to read [1].