Linux+ Chapter 04

Your page rank:

Total word count: 585
Pages: 2

Calculate the Price

- -
275 words
Looking for Expert Opinion?
Let us have a look at your work and suggest how to improve it!
Get a Consultant

T/F – The rmdir command automatically removes a directory and all of its subdirectories and files.

False

T/F – You can use wildcard metacharacters with the find command.

True

The SGID allows regular users to execute a binary compiled program and become a member of the group that is attached to the file.

True

Shell scripts do not require the execute permission in order to be run the same way binary programs are run.

False

The database for the locate command can be updated manually by using the updatedb command.

True

The File system Hierarchy Standard specifies what directory as containing the Linux kernel and the boot loader configuration files?

/boot

The File system Hierarchy Standard specifies what directory as the root user’s home directory?

/home

What command can be used to copy files?

cp

What command takes a list of arguments specifying the absolute or relative pathnames of files to remove?

rm

What command utilizes a premade database that contains a list of all the files on a system:

locate command

The contents of a certain variable in memory can be viewed using which metacharacter in combination with the echo command?

$

What section of a filesystem contains information about the filesystem in general?

superblock

In order to create a hard link, what command must be used?

ln

The section of an inode that stores permissions is referred to as what?

mode

In a file’s mode, a permission that is unavailable is represented by what character?

What permission grants a user the ability to open, read, and edit the contents of a file?

write

What argument can be used with the chmod command to add read permission and remove write permission for a group on a file?

g+r-w

When using the chmod command, the mode rwx can be represented by which number?

7

In order to set all of the special permissions on a certain file or directory, which command should be used on a file named filename?

chmod 7777 filename

What does the setfacl -b command do?

removes all extra ACL assignments

In order to quickly create an empty file, what command can be used?

touch command

What permission (when applied to a directory) allows a user to enter the directory and work with directory contents?

excecute

What permission (when assigned to a file) grants a user the ability to open, read, and edit the contents of a file?

write

What mode corresponds to setting r-x:

user

What option, when added to the rm command, is commonly referred to as the -resume option?

-r

__________defines a standard set of directories for use by all Linux and UNIX systems, as well as the file and subdirectory contents of each directory.

FHS

To copy a directory full of files in Linux, you must tell the cp command that the copy will be _____(involve files and subdirectories too) by using the -r option

recursive

The _____ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.

which

To create a(n) _____ link, you use the -s option to the ln command.

symbolic

When a user creates a file or directory, that user’s name and ______ becomes the owner and group owner of the file, respectively.

primary group

rwx

7

rw-

6

what are the three numbers representing rwx?

421

r-x

5

rw- rw- rw-

666

r–

4

rw-r-xrwx

657

A special variable used to alter permissions by taking away select defaults?

unmask command

added to a ch or ls command for attributes?

attr

-wx-w-r-x

325

Share This
Flashcard

More flashcards like this

NCLEX 10000 Integumentary Disorders

When assessing a client with partial-thickness burns over 60% of the body, which finding should the nurse report immediately? a) ...

Read more

NCLEX 300-NEURO

A client with amyotrophic lateral sclerosis (ALS) tells the nurse, "Sometimes I feel so frustrated. I can’t do anything without ...

Read more

NASM Flashcards

Which of the following is the process of getting oxygen from the environment to the tissues of the body? Diffusion ...

Read more

Unfinished tasks keep piling up?

Let us complete them for you. Quickly and professionally.

Check Price

Successful message
sending