CST 124 Quiz #4

¡Supera tus tareas y exámenes ahora con Quizwiz!

After typing the command umask731 the permissions on all subsequently created files and directories will be effected. In this case, what will the permissions on all new files be?

- - -r--rw

The command chmod317file1 would produce with of the following lines in the ls command?

--wx--xrwx 1 user1 root 0 Apr 29 15:40 file1

You noticed a file in your home directory that has a + symbol appended to the mode. What does this indicate?

Additional entries exist within the ACL of the file that can be viewed using the getfacl command

What was created to define a standard directory structure and common file location for Linux?

FHS

A symbolic link is also known as a soft link and is depicted by an @ symbol appearing at the beginning of the filename when viewed using the ls -l command. True or False?

False

There is no real difference between the "S" and the "s" special permissions when displayed using the ls -l command. One just means it is on a file and the other that it is on a directory. True or False?

False

The root user utilizes the chgrp command to give ownership of a file to another user. What must the root use do to regain ownership of the file?

Have the new owner run chgrp and list the root user as the new owner.

What does the mv command do?

It moves a file

What must a user do to run cp or mv interactively and be asked if she wants to overwrite an existing file?

Just type cp or mv, because they run in interactive mode by default

Hard links need to reside on the same filesystem as the target, whereas symbolic links need not be on the same filesystem as the target. True or False?

True

After typing the ls -F command, you see the following line in the output:

User1 has read and write permission, members of the root group have read and execute permissions, and all others have read permissions to the file

What does the SGID special permission do when applied to a directory?

causes all new files created in the directory to have the same group membership as the directory, and not the entity that created them

A file has the following permissions r----x-w-. The command chmod 143 would have the same effect as the command:

chmod u=x,g=r,o=wx file1

Which of the following commands will change the user ownership and group ownership of file1 to user1 and root respectively?

chown user1:root file1

What are the three standard Linux permissions?

execute, read, write

Only the root user can modify a file that has the immutable attribute set. True or False?

false

Which command do you use to rename files and directories?

mv

The default permissions given by the system prior to analyzing the umask are known as what for directories, and referred to as what for files?

rwxrwxrwx and rw-rw-rwe

The which command does what?

searches for a file only in directories that are in the PATH variable

What does the /var directory contain?

spools and log files

When you change the data in a file that is hard-linked to three others:

the data in the file you modified as well as the data in all hard-linked files are modified


Conjuntos de estudio relacionados

Abdomen Finals Review : Liver, Biliary system, Spleen, Pancreas, Kidneys

View Set

Public Speaking Unit 1: Intro to Public Speaking

View Set

Econ Chapter 9: Monopolistic Competition and Oligopoly

View Set

Mod 2 Week 5 Quiz Review (Bible)

View Set

Stallings Cumulative Ch 1-7, 9-16 - Computer Organization and Assembly Language Final Exam - CS330 (possible test questions)

View Set

HR ch:6, HR ch:8, HR ch:7, HR ch:9

View Set

Exam 1 Question Bank (Lesson 1: 1,2,10, Lesson 2: 3,4,6,7)

View Set

Med Surg Gastrointestinal NCLEX Questions

View Set

Pharmacology Chapter 20 to add, Ch. 20 PrepU questions, Pharmacology Prep U Chapter 20 Anxiolytic and Hypnotic Agents

View Set