Comp TIA Linux+ - Ch.4

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

the command chmod 317 file1 would produce which of the following lines in the ls command?

--wx--xrwx1 user1 root 0 Apr 29 15:40 file1

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

Run chown and list the root user as the new owner

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 as they share the same data and all have the same inode and file size

locate

The fastest method to search for files in the Linux directory tree is to use this command

concatenation

The joining of trext together to make one larger whole. In Linux, words and strings of text are joined togetter to form a displayed file

after typing the ls-F command, you see the following line in the output: -rw-r-xr-- 1 user1 root 0 Apr 29 15:40 file1 what does this mean?

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

gedit editor

a common text editor used within GUI environments

head command

a linux command that displays the first set of lines of a text file

tail command

a linux command used to diplay lines of text at the end of a file

od command

a linux command used to display the contents of a file in octal format

strings command

a linux command used to search for and display text characters in a binary file

socket file

a named pipe connecting processes on two different computers; it can also be represented by a file on the filesystem

emacs

a popular and widespread text editor more conducive to word processing than vi. It was originally developed by Richard Stallman

vi editor

a powerful command-line text editor available on most unix and linux systems

when applied to a directory SGID special permission_____________________.

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

umask 731

changes permissions on all created filed to ---r--rw-

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

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

chmod

command used to change the permissions for a certain file or directory

cp command

command used to copy a file

symbolic links

commonly made to directories to simplify navigating the filesystem tree

/var directory

contains spools and log files

FHS

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

rwxrwxrwx

default permissions given to directories

rw-rw-rw-

default permissions given to files

symbolic links

do not need to be on the same filesystem as the target

A symbolic link is also know as a soft link and is depicted by an @ appearing at the beginning of the filename when viewed using ls-l command.

false

/root

in the FHS, this directory is the root users home directory

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

just type cp or mv as they run in interactive mode by default

+ symbol next to a file in your home directory appended to the mode

means additional entries exist within the ACL of the file that can be viewed using the getfacl commmand

$

metacharacter used with the echo command to see the contents of a certain variable in memory

mv command

moves directories and files

hard links

need to reside on the same filesystem as the target

who can modify a file that has the immutable attribute set?

no one can modify

rwx

represented by the number 7

which command

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

execute, read, write

standard linux permissions

--wx--xrwx

the command chmod 317 file1 would produce which of the following permissions?

linked file

the files that represent the same data as other files

Given the following output from the ls command, how many files are linked with file1? -rw-r--r-- 3 root root 282 Apr 29 22:06 file1

two files are linked with file1

sticky bit

use the command chmod 1777 data, which allows all users to add files to the data directory. This is because you gave the write permission, however users can only delete files that they own in data

chown user1:root file1

will change the user ownership and group ownership of file1 to user1 and root respectively

execute, read, write

3 standard Linux permissions


Conjuntos de estudio relacionados

Data Analytics Glossary (Coursera)

View Set

Basics of Sexual Reproduction: External vs. Internal Fertilization

View Set

ASE B2 Painting and Refinishing True or false

View Set

Masteringbio chapter 23 part 1 study

View Set

N332 Final Study: Management of Neurologic Dysfunction

View Set

Chapter 24/ Asepsis and infection control

View Set

Chapter 20; Assisting with the Physical Examination

View Set