Deck 5: Linux Filesystem Management

ملء الشاشة (f)
exit full mode
سؤال
When using the chmod command, the mode rwx can be represented by the number ____.

A)0
B)1
C)7
D)8
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The SGID allows regular users to execute a binary compiled program and become a member of the group that is attached to the file.
سؤال
The rmdir command automatically removes a directory and all of its subdirectories and files.
سؤال
When using the chmod command, if there is no character specifying the category of user to affect, only the group category is affected.
سؤال
Copying a file can be accomplished using the ____ command.

A)copy
B)mv
C)cp
D)cpy
سؤال
To move files you can use the mv command.
سؤال
In the FHS, the ____ directory contains most system commands and utilities.

A)/usr
B)/root
C)/bin
D)/home
سؤال
You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.

A)$
B)*
C)&
D)#
سؤال
In a file's mode, if a permission is unavailable, a(n)____ character replaces its position in the mode.

A)*
B)+
C)?
D)-
سؤال
You can use wildcard metacharacters with the find command.
سؤال
The section of an inode that stores permissions is called the ____ of the file.

A)tail
B)head
C)mode
D)accessor
سؤال
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
سؤال
The chgrp command takes ____ arguments at minimum.

A)1
B)2
C)3
D)4
سؤال
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
سؤال
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
سؤال
In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.

A)/load
B)/bin
C)/boot
D)/mnt
سؤال
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
سؤال
To create a hard link, you must use the ____ command.

A)ln
B)link
C)lnk
D)lk
سؤال
In the FHS, the ____ directory is the root user's home directory.

A)/bin
B)/home
C)/boot
D)/root
سؤال
When using the chmod command for a specific file, the ____ argument would add read permission and remove write permission for the group permissions.

A)u+r+w
B)g-r+w
C)g+r-w
D)o+r-w
سؤال
Match between columns
Command used to quickly create an empty file.
chmod
Command used to quickly create an empty file.
whoami
Command used to quickly create an empty file.
groups
Command used to quickly create an empty file.
chgrp
Command used to quickly create an empty file.
ping
Command used to quickly create an empty file.
chown
Command used to quickly create an empty file.
alias
Command used to quickly create an empty file.
umask
Command used to quickly create an empty file.
touch
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
chmod
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
whoami
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
groups
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
chgrp
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
ping
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
chown
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
alias
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
umask
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
touch
Command used to displays BASH shell aliases.
chmod
Command used to displays BASH shell aliases.
whoami
Command used to displays BASH shell aliases.
groups
Command used to displays BASH shell aliases.
chgrp
Command used to displays BASH shell aliases.
ping
Command used to displays BASH shell aliases.
chown
Command used to displays BASH shell aliases.
alias
Command used to displays BASH shell aliases.
umask
Command used to displays BASH shell aliases.
touch
Command used to view your group memberships and primary group.
chmod
Command used to view your group memberships and primary group.
whoami
Command used to view your group memberships and primary group.
groups
Command used to view your group memberships and primary group.
chgrp
Command used to view your group memberships and primary group.
ping
Command used to view your group memberships and primary group.
chown
Command used to view your group memberships and primary group.
alias
Command used to view your group memberships and primary group.
umask
Command used to view your group memberships and primary group.
touch
Command used to change the group owner of a file or directory.
chmod
Command used to change the group owner of a file or directory.
whoami
Command used to change the group owner of a file or directory.
groups
Command used to change the group owner of a file or directory.
chgrp
Command used to change the group owner of a file or directory.
ping
Command used to change the group owner of a file or directory.
chown
Command used to change the group owner of a file or directory.
alias
Command used to change the group owner of a file or directory.
umask
Command used to change the group owner of a file or directory.
touch
Command used to view your current user name.
chmod
Command used to view your current user name.
whoami
Command used to view your current user name.
groups
Command used to view your current user name.
chgrp
Command used to view your current user name.
ping
Command used to view your current user name.
chown
Command used to view your current user name.
alias
Command used to view your current user name.
umask
Command used to view your current user name.
touch
Command used to change the ownership of a file or directory.
chmod
Command used to change the ownership of a file or directory.
whoami
Command used to change the ownership of a file or directory.
groups
Command used to change the ownership of a file or directory.
chgrp
Command used to change the ownership of a file or directory.
ping
Command used to change the ownership of a file or directory.
chown
Command used to change the ownership of a file or directory.
alias
Command used to change the ownership of a file or directory.
umask
Command used to change the ownership of a file or directory.
touch
Command used to change the permissions for a certain file or directory.
chmod
Command used to change the permissions for a certain file or directory.
whoami
Command used to change the permissions for a certain file or directory.
groups
Command used to change the permissions for a certain file or directory.
chgrp
Command used to change the permissions for a certain file or directory.
ping
Command used to change the permissions for a certain file or directory.
chown
Command used to change the permissions for a certain file or directory.
alias
Command used to change the permissions for a certain file or directory.
umask
Command used to change the permissions for a certain file or directory.
touch
Command used to test network connectivity.
chmod
Command used to test network connectivity.
whoami
Command used to test network connectivity.
groups
Command used to test network connectivity.
chgrp
Command used to test network connectivity.
ping
Command used to test network connectivity.
chown
Command used to test network connectivity.
alias
Command used to test network connectivity.
umask
Command used to test network connectivity.
touch
سؤال
When a user creates a file or directory, that user's name and ____________________ becomes the owner and group owner of the file, respectively.
سؤال
What are the three main structural sections of a Linux filesystem? Describe each section.
سؤال
How does the execute permission apply to a directory?
سؤال
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
سؤال
To set all of the special permissions on a certain file or directory, you can use the command ____, where name is the name of the file or directory.

A)chmod 777 name
B)chmod 7777 name
C)chmod 6666 name
D)chmod 0000 name
سؤال
Describe hard and symbolic links. What is the difference between them?
سؤال
____________________ 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.
سؤال
To create a(n)____________________ link, you use the -s option to the ln command.
سؤال
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?
سؤال
Describe the SUID. Give an example of a command that typically has this permission set.
سؤال
The ____________________ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/32
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 5: Linux Filesystem Management
1
When using the chmod command, the mode rwx can be represented by the number ____.

A)0
B)1
C)7
D)8
C
2
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
3
The rmdir command automatically removes a directory and all of its subdirectories and files.
False
4
When using the chmod command, if there is no character specifying the category of user to affect, only the group category is affected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
5
Copying a file can be accomplished using the ____ command.

A)copy
B)mv
C)cp
D)cpy
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
6
To move files you can use the mv command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
7
In the FHS, the ____ directory contains most system commands and utilities.

A)/usr
B)/root
C)/bin
D)/home
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
8
You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.

A)$
B)*
C)&
D)#
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
9
In a file's mode, if a permission is unavailable, a(n)____ character replaces its position in the mode.

A)*
B)+
C)?
D)-
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
10
You can use wildcard metacharacters with the find command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
11
The section of an inode that stores permissions is called the ____ of the file.

A)tail
B)head
C)mode
D)accessor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
12
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
13
The chgrp command takes ____ arguments at minimum.

A)1
B)2
C)3
D)4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
14
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
15
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
16
In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.

A)/load
B)/bin
C)/boot
D)/mnt
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
17
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
18
To create a hard link, you must use the ____ command.

A)ln
B)link
C)lnk
D)lk
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
19
In the FHS, the ____ directory is the root user's home directory.

A)/bin
B)/home
C)/boot
D)/root
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
20
When using the chmod command for a specific file, the ____ argument would add read permission and remove write permission for the group permissions.

A)u+r+w
B)g-r+w
C)g+r-w
D)o+r-w
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
21
Match between columns
Command used to quickly create an empty file.
chmod
Command used to quickly create an empty file.
whoami
Command used to quickly create an empty file.
groups
Command used to quickly create an empty file.
chgrp
Command used to quickly create an empty file.
ping
Command used to quickly create an empty file.
chown
Command used to quickly create an empty file.
alias
Command used to quickly create an empty file.
umask
Command used to quickly create an empty file.
touch
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
chmod
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
whoami
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
groups
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
chgrp
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
ping
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
chown
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
alias
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
umask
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
touch
Command used to displays BASH shell aliases.
chmod
Command used to displays BASH shell aliases.
whoami
Command used to displays BASH shell aliases.
groups
Command used to displays BASH shell aliases.
chgrp
Command used to displays BASH shell aliases.
ping
Command used to displays BASH shell aliases.
chown
Command used to displays BASH shell aliases.
alias
Command used to displays BASH shell aliases.
umask
Command used to displays BASH shell aliases.
touch
Command used to view your group memberships and primary group.
chmod
Command used to view your group memberships and primary group.
whoami
Command used to view your group memberships and primary group.
groups
Command used to view your group memberships and primary group.
chgrp
Command used to view your group memberships and primary group.
ping
Command used to view your group memberships and primary group.
chown
Command used to view your group memberships and primary group.
alias
Command used to view your group memberships and primary group.
umask
Command used to view your group memberships and primary group.
touch
Command used to change the group owner of a file or directory.
chmod
Command used to change the group owner of a file or directory.
whoami
Command used to change the group owner of a file or directory.
groups
Command used to change the group owner of a file or directory.
chgrp
Command used to change the group owner of a file or directory.
ping
Command used to change the group owner of a file or directory.
chown
Command used to change the group owner of a file or directory.
alias
Command used to change the group owner of a file or directory.
umask
Command used to change the group owner of a file or directory.
touch
Command used to view your current user name.
chmod
Command used to view your current user name.
whoami
Command used to view your current user name.
groups
Command used to view your current user name.
chgrp
Command used to view your current user name.
ping
Command used to view your current user name.
chown
Command used to view your current user name.
alias
Command used to view your current user name.
umask
Command used to view your current user name.
touch
Command used to change the ownership of a file or directory.
chmod
Command used to change the ownership of a file or directory.
whoami
Command used to change the ownership of a file or directory.
groups
Command used to change the ownership of a file or directory.
chgrp
Command used to change the ownership of a file or directory.
ping
Command used to change the ownership of a file or directory.
chown
Command used to change the ownership of a file or directory.
alias
Command used to change the ownership of a file or directory.
umask
Command used to change the ownership of a file or directory.
touch
Command used to change the permissions for a certain file or directory.
chmod
Command used to change the permissions for a certain file or directory.
whoami
Command used to change the permissions for a certain file or directory.
groups
Command used to change the permissions for a certain file or directory.
chgrp
Command used to change the permissions for a certain file or directory.
ping
Command used to change the permissions for a certain file or directory.
chown
Command used to change the permissions for a certain file or directory.
alias
Command used to change the permissions for a certain file or directory.
umask
Command used to change the permissions for a certain file or directory.
touch
Command used to test network connectivity.
chmod
Command used to test network connectivity.
whoami
Command used to test network connectivity.
groups
Command used to test network connectivity.
chgrp
Command used to test network connectivity.
ping
Command used to test network connectivity.
chown
Command used to test network connectivity.
alias
Command used to test network connectivity.
umask
Command used to test network connectivity.
touch
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
22
When a user creates a file or directory, that user's name and ____________________ becomes the owner and group owner of the file, respectively.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
23
What are the three main structural sections of a Linux filesystem? Describe each section.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
24
How does the execute permission apply to a directory?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
25
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
26
To set all of the special permissions on a certain file or directory, you can use the command ____, where name is the name of the file or directory.

A)chmod 777 name
B)chmod 7777 name
C)chmod 6666 name
D)chmod 0000 name
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
27
Describe hard and symbolic links. What is the difference between them?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
28
____________________ 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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
29
To create a(n)____________________ link, you use the -s option to the ln command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
30
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
31
Describe the SUID. Give an example of a command that typically has this permission set.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
32
The ____________________ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.