Filters
Question type

Study Flashcards

To create a hard link, you must use the ____ command.


A) ln
B) link
C) lnk
D) lk

Correct Answer

verifed

verified

The section of an inode that stores permissions is called the ____ of the file.


A) tail
B) head
C) mode
D) accessor

Correct Answer

verifed

verified

C

When using the chmod command, the mode rwx can be represented by the number ____.


A) 0
B) 1
C) 7
D) 8

Correct Answer

verifed

verified

In a file's mode, if a permission is unavailable, a(n) ____ character replaces its position in the mode.


A) (*)
B) (+)
C) (?)
D) (-)

Correct Answer

verifed

verified

In the FHS, the ____ directory is the root user's home directory.


A) /bin
B) /home
C) /boot
D) /root

Correct Answer

verifed

verified

You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.


A) $
B) *
C) &
D) #

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

What is the difference between the mv and cp commands, in terms of the way that they work on directories? How do you copy a directory full of files in Linux?

Correct Answer

verifed

verified

The mv command simply renames a director...

View Answer

If a user has ____ permission for a file, they can open, read, and edit the contents of a file.


A) write
B) execute
C) read
D) alter

Correct Answer

verifed

verified

The chgrp command takes ____ arguments at minimum.


A) 1
B) 2
C) 3
D) 4

Correct Answer

verifed

verified

The rmdir command automatically removes a directory and all of its subdirectories and files.

Correct Answer

verifed

verified

False

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

primary group

The ____ section of a filesystem is the section that contains information about the filesystem in general.


A) inode table
B) inode
C) data blocks
D) superblock

Correct Answer

verifed

verified

The ____ command takes a list of arguments specifying the absolute or relative pathnames of files to remove.


A) del
B) rm
C) remove
D) delete

Correct Answer

verifed

verified

In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.


A) /load
B) /bin
C) /boot
D) /mnt

Correct Answer

verifed

verified

How does the execute permission apply to a directory?

Correct Answer

verifed

verified

The execute permission on a directory is...

View Answer

When using the chmod command, if there is no character specifying the category of user to affect, only the group category is affected.

Correct Answer

verifed

verified

Describe the SUID. Give an example of a command that typically has this permission set.

Correct Answer

verifed

verified

The SUID has no special function when se...

View Answer

To move files you can use the mv command.

Correct Answer

verifed

verified

Showing 1 - 20 of 32

Related Exams

Show Answer