Search Header Logo

linux midterm

Authored by madpanda .

Other

10th Grade

Used 2+ times

linux midterm
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

69 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The /tmp directory is a temporary directory designed as a location where any user can create a temporary file. True or False?

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The sticky bit permission…

…prevents others from overwriting files they don’t own in common directories.

…sets the group ownership of any new file created in a directory.

…changes the group ownership of existing files in a directory.

…prevents others from removing files they don’t own from a common directory.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will set the sticky bit on /shared ?

chmod 6777 /shared

chmod 1777 /shared

chmod 2777 /shared

chmod 4777 /shared

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The setuid permission…

…allows a command to be run as the file owner.

…reports the output of a script to the owner.

…prevents the owner of a file from being changed.

…allows files in a directory to be manipulated as by the directory owner.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will set setuid for the /usr/bin/program?

None of the above

chmod 2755 /usr/bin/program

chmod 1755 /usr/bin/program

chmod 4755 /usr/bin/program

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The setgid permission… (choose two)

…prevents the group owner of a file from being changed.

…can only be set on files.

…allows a command to be run as the group owner of the file.

…allows files created in a directory to be owned by the group that owns the directory.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will set setgid on /shared ?

chmod 2777 /shared

chmod 1777 /shared

chmod 7777 /shared

None of these options are correct

chmod 4777 /shared

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?