Filters
Question type

Study Flashcards

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

In the FHS, the ____ directory contains most system commands and utilities.


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

Correct Answer

verifed

verified

Match each term with the correct statement below. -Command used to view your group memberships and primary group.


A) chgrp
B) groups
C) alias
D) touch
E) chmod
F) chown
G) ping
H) whoami
I) umask

Correct Answer

verifed

verified

The chgrp command takes ____ argument(s) at minimum.


A) one
B) two
C) three
D) four

Correct Answer

verifed

verified

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


A) search
B) id
C) find
D) locate

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

Match each term with the correct statement below. -Command used to quickly create an empty file.


A) chgrp
B) groups
C) alias
D) touch
E) chmod
F) chown
G) ping
H) whoami
I) umask

Correct Answer

verifed

verified

When working with files, the special metacharacter ".." specifies the current directory. _________________________

Correct Answer

verifed

verified

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

How does the execute permission apply to a directory?

Correct Answer

verifed

verified

The execute permission on a directory is...

View Answer

Match each term with the correct statement below. -Command used to change the group owner of a file or directory.


A) chgrp
B) groups
C) alias
D) touch
E) chmod
F) chown
G) ping
H) whoami
I) umask

Correct Answer

verifed

verified

Match each term with the correct statement below. -Command used to displays BASH shell aliases.


A) chgrp
B) groups
C) alias
D) touch
E) chmod
F) chown
G) ping
H) whoami
I) umask

Correct Answer

verifed

verified

Match each term with the correct statement below. -Command used to test network connectivity.


A) chgrp
B) groups
C) alias
D) touch
E) chmod
F) chown
G) ping
H) whoami
I) umask

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

___________________________________ 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.

Correct Answer

verifed

verified

Filesystem Hierarchy...

View Answer

Copying a file can be accomplished using the ____ command.


A) copy
B) mv
C) cp
D) cpy

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

Match each term with the correct statement below. -Special variable on the system used to take away permissions on new files and directories immediately after they are created.


A) chgrp
B) groups
C) alias
D) touch
E) chmod
F) chown
G) ping
H) whoami
I) umask

Correct Answer

verifed

verified

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

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

Showing 21 - 40 of 45

Related Exams

Show Answer