Deck 4: Linux Filesystem Management

ملء الشاشة (f)
exit full mode
سؤال
The SGID allows regular users to execute a binary compiled program and become a member of the group that is attached to the file.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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 find command, the -size x criteria is used to search for files with a size greater than x. _________________________
سؤال
The chgrp command takes ____ argument(s) at minimum.

A) one
B) two
C) three
D) four
سؤال
You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.

A) $
B) *
C) &
D) #
سؤال
You can use wildcard metacharacters with the find command.
سؤال
The rmdir command automatically removes a directory and all of its subdirectories and files.
سؤال
The PATH variable lists directories that are searched for executable files if a relative or absolute pathname was not specified when executing a command on the command line. _________________________
سؤال
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 move files, you can use the mv command.
سؤال
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
سؤال
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
سؤال
To create a subdirectory, you would use the makedir command. _________________________
سؤال
When working with files, the special metacharacter ".." specifies the current directory. _________________________
سؤال
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
سؤال
The execute permission for a file allows a user the ability to execute the file in memory (if it is a program file or a script). _________________________
سؤال
In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.

A) /load
B) /bin
C) /boot
D) /mnt
سؤال
In the FHS, the ____ directory contains most system commands and utilities.

A) /usr
B) /root
C) /bin
D) /home
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to view your current user name.
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to change the group owner of a file or directory.
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to view your group memberships and primary group.
سؤال
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
سؤال
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
سؤال
In a file's mode, if a permission is unavailable, a(n) ____ character replaces its position in the mode.

A) *
B) +
C) ?
D) -
سؤال
To create a(n) ____________________ link, you use the -s option to the ln command.
سؤال
The ____________________ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.
سؤال
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
سؤال
When a user creates a file or directory, that user's name and ____________________ becomes the owner and group owner of the file, respectively.
سؤال
When using the chmod command, the mode rwx can be represented by the number ____.

A) 0
B) 1
C) 7
D) 8
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to displays BASH shell aliases.
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
سؤال
The section of an inode that stores permissions is called the ____ of the file.

A) tail
B) head
C) mode
D) accessor
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to change the ownership of a file or directory.
سؤال
___________________________________ 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.
سؤال
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
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to change the permissions for a certain file or directory.
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to quickly create an empty file.
سؤال
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to test network connectivity.
سؤال
Describe the SUID. Give an example of a command that typically has this permission set.
سؤال
What are the three main structural sections of a Linux filesystem? Describe each section.
سؤال
How does the execute permission apply to a directory?
سؤال
Describe hard and symbolic links. What is the difference between them?
سؤال
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?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Linux Filesystem Management
1
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
2
To create a hard link, you must use the ____ command.

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

A) /bin
B) /home
C) /boot
D) /root
D
4
When using the find command, the -size x criteria is used to search for files with a size greater than x. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
5
The chgrp command takes ____ argument(s) at minimum.

A) one
B) two
C) three
D) four
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
6
You can see the contents of a certain variable in memory by using the ____ metacharacter with the echo command.

A) $
B) *
C) &
D) #
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
7
You can use wildcard metacharacters with the find command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
8
The rmdir command automatically removes a directory and all of its subdirectories and files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
9
The PATH variable lists directories that are searched for executable files if a relative or absolute pathname was not specified when executing a command on the command line. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
10
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
11
To move files, you can use the mv command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
12
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
13
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
14
To create a subdirectory, you would use the makedir command. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
15
When working with files, the special metacharacter ".." specifies the current directory. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
16
When using the chmod command, if there is no character specifying the category of user to affect, only the group category is affected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
17
Copying a file can be accomplished using the ____ command.

A) copy
B) mv
C) cp
D) cpy
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
18
The execute permission for a file allows a user the ability to execute the file in memory (if it is a program file or a script). _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
19
In the FHS, the ____ directory contains the Linux kernel and files used by the boot loader.

A) /load
B) /bin
C) /boot
D) /mnt
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
20
In the FHS, the ____ directory contains most system commands and utilities.

A) /usr
B) /root
C) /bin
D) /home
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
21
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to view your current user name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
22
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to change the group owner of a file or directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
23
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to view your group memberships and primary group.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
24
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
25
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
26
In a file's mode, if a permission is unavailable, a(n) ____ character replaces its position in the mode.

A) *
B) +
C) ?
D) -
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
27
To create a(n) ____________________ link, you use the -s option to the ln command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____________________ command only searches directories that are listed in a special variable called the PATH variable in the current BASH shell.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
29
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
30
When a user creates a file or directory, that user's name and ____________________ becomes the owner and group owner of the file, respectively.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
31
When using the chmod command, the mode rwx can be represented by the number ____.

A) 0
B) 1
C) 7
D) 8
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
32
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to displays BASH shell aliases.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
33
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Special variable on the system used to take away permissions on new files and directories immediately after they are created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
34
The section of an inode that stores permissions is called the ____ of the file.

A) tail
B) head
C) mode
D) accessor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
35
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to change the ownership of a file or directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
36
___________________________________ 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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
37
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
38
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to change the permissions for a certain file or directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
39
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to quickly create an empty file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
40
Match each term with the correct statement below.
a.chgrp
f.chown
b.groups
g.ping
c.alias
h.whoami
d.touch
i.umask
e.chmod
Command used to test network connectivity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
41
Describe the SUID. Give an example of a command that typically has this permission set.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
42
What are the three main structural sections of a Linux filesystem? Describe each section.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
43
How does the execute permission apply to a directory?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
44
Describe hard and symbolic links. What is the difference between them?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
45
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.