Deck 3: Managing Files and Directories

ملء الشاشة (f)
exit full mode
سؤال
The Linux file system is similar to Windows.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The command-line prompt varies depending on the shell.
سؤال
The * wildcard is used to represent zero or more characters.
سؤال
When deleing files in Linux, a confirmation message is displayed as a precaution.
سؤال
When you move a file to a new location, it remains in the original directory.
سؤال
Which type of file can be stored on one machine and used by multiple users on other machines?

A) Static
B) Variable
C) Shareable
D) Unshareable
سؤال
Files in the /boot directory are considered to be ____ files.

A) static
B) variable
C) shareable
D) unshareable
سؤال
Which command is used to switch to other directories?

A) sw
B) cd
C) chg
D) mv
سؤال
Which symbol represents the user's home directory?

A) ~ (tilde)
B) / (slash)
C) $ (dollar sign)
D) ! (exclamation point)
سؤال
To navigate to a directory above your current directory with the relative method, you use ____.

A) a forward slash (/)
B) a back slash (\)
C) one dot (.)
D) two dots (..)
سؤال
Which directory doesn't have a parent directory?

A) /bin
B) root (/)
C) /etc
D) /boot
سؤال
To enable the Bash shell command completion feature, press the ____ key.

A) B
B) C
C) Tab
D) Shift
سؤال
Which command is used to list file and subdirectories in the Linux directory structure?

A) ls
B) list
C) fs
D) lfs
سؤال
What is the command syntax that almost all Linux commands follow?

A) command -options -argument
B) command -options argument
C) command -arguments -option
D) command -arguments option
سؤال
Which ls command option lists all files including hidden files?

A) -F
B) -A
C) -f
D) -a
سؤال
Hidden files have names that always start with a(n) ____.

A) underscore (_)
B) period(.)
C) slash (/)
D) h
سؤال
Which output column of the ls command displays the filename?

A) The first column
B) The second column
C) The seventh column
D) The eighth column
سؤال
Which command illustrates how to obtain helpful documentation for the ls command?

A) man ls
B) help ls
C) doc ls
D) info ls
سؤال
Which method of navigating man pages will repeat the previous search in the reverse direction?

A) Press b or backspace
B) Press \ (backward slash)
C) Press r
D) Press R
سؤال
Which wildcard character is used to represent only one character?

A) Asterisk (*)
B) Exclamation point (!)
C) Question mark (?)
D) Tilde (~)
سؤال
What is the simplest way to create a file in Linux?

A) Use the open command.
B) Use the create command.
C) Use the touch command.
D) Use the new command.
سؤال
Which command is used to remove empty directories?

A) rm
B) rmdir
C) empty
D) del
سؤال
Before removing a directory containing files, you must run the ____ command to delete the files.

A) del
B) rm
C) wipe
D) clr
سؤال
A(n) ____ is a data structure that stores all information (such as file permissions, ownership, and file type) about a file except the actual data and filename.

A) directory
B) inode
C) hard link
D) symbolic link
سؤال
The benefit of creating a(n) ____ is that you can link files that are on separate partitions or even different computers.

A) directory
B) inode
C) hard link
D) symbolic link
سؤال
If you use the su command without an argument, it defaults to the root user, which changes the prompt to a ____ symbol.

A) ~
B)#
C) $
D) %
سؤال
A(n) ____________________ is the way files are stored and organized to simplify access to data.
سؤال
The ____________________ simply indicates where to enter commands.
سؤال
When working with pathnames in Linux, the ____________________ path method states the full pathname starting from the root (/).
سؤال
In Linux, a(n) ____________________ represents letters and characters used to specify a filename for searches.
سؤال
____________________ are files that point to data on the hard drive.
سؤال
Match each statement with an item

-Contains the mount point for removable media.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-Contains shared libraries that are loaded when a program starts.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-Contains device files such as the CD/DVD-ROM drive.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-Contains the Linux kernel and static files needed to boot the computer.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-Contains sharable, read-only applications and files.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-Contains static configuration files, which are also unshareable files meaning they're local to the machine.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-This directory should not contain subdirectories.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-Contains static sharable add-on software package.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Match each statement with an item

-An optional directory.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
سؤال
Compare the Windows file system to the Linux file system.
سؤال
Describe one benefit of Filesystem Hierarchy Standard (FHS).
سؤال
Why is a basic understanding of Filesystem Hierarchy Standard (FHS) a valuable tool for Linux administrators and users?
سؤال
Describe how to open a terminal window in the KDE and GNOME desktops environments.
سؤال
Why is learning the pwd (print working directory) command essential?
سؤال
When working with pathnames in Linux, explain the difference between using two dots and one dot in the pathname.
سؤال
Discuss how file types are indicated onscreen.
سؤال
What is POSIX?
سؤال
When should you update (touch) important files and scripts you have created?
سؤال
What is the main difference between the cp command and the mv command?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 3: Managing Files and Directories
1
The Linux file system is similar to Windows.
False
2
The command-line prompt varies depending on the shell.
True
3
The * wildcard is used to represent zero or more characters.
True
4
When deleing files in Linux, a confirmation message is displayed as a precaution.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
When you move a file to a new location, it remains in the original directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which type of file can be stored on one machine and used by multiple users on other machines?

A) Static
B) Variable
C) Shareable
D) Unshareable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Files in the /boot directory are considered to be ____ files.

A) static
B) variable
C) shareable
D) unshareable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which command is used to switch to other directories?

A) sw
B) cd
C) chg
D) mv
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which symbol represents the user's home directory?

A) ~ (tilde)
B) / (slash)
C) $ (dollar sign)
D) ! (exclamation point)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
To navigate to a directory above your current directory with the relative method, you use ____.

A) a forward slash (/)
B) a back slash (\)
C) one dot (.)
D) two dots (..)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which directory doesn't have a parent directory?

A) /bin
B) root (/)
C) /etc
D) /boot
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
To enable the Bash shell command completion feature, press the ____ key.

A) B
B) C
C) Tab
D) Shift
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which command is used to list file and subdirectories in the Linux directory structure?

A) ls
B) list
C) fs
D) lfs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is the command syntax that almost all Linux commands follow?

A) command -options -argument
B) command -options argument
C) command -arguments -option
D) command -arguments option
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which ls command option lists all files including hidden files?

A) -F
B) -A
C) -f
D) -a
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
Hidden files have names that always start with a(n) ____.

A) underscore (_)
B) period(.)
C) slash (/)
D) h
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which output column of the ls command displays the filename?

A) The first column
B) The second column
C) The seventh column
D) The eighth column
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which command illustrates how to obtain helpful documentation for the ls command?

A) man ls
B) help ls
C) doc ls
D) info ls
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which method of navigating man pages will repeat the previous search in the reverse direction?

A) Press b or backspace
B) Press \ (backward slash)
C) Press r
D) Press R
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which wildcard character is used to represent only one character?

A) Asterisk (*)
B) Exclamation point (!)
C) Question mark (?)
D) Tilde (~)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
What is the simplest way to create a file in Linux?

A) Use the open command.
B) Use the create command.
C) Use the touch command.
D) Use the new command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which command is used to remove empty directories?

A) rm
B) rmdir
C) empty
D) del
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Before removing a directory containing files, you must run the ____ command to delete the files.

A) del
B) rm
C) wipe
D) clr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
A(n) ____ is a data structure that stores all information (such as file permissions, ownership, and file type) about a file except the actual data and filename.

A) directory
B) inode
C) hard link
D) symbolic link
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
The benefit of creating a(n) ____ is that you can link files that are on separate partitions or even different computers.

A) directory
B) inode
C) hard link
D) symbolic link
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
If you use the su command without an argument, it defaults to the root user, which changes the prompt to a ____ symbol.

A) ~
B)#
C) $
D) %
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
A(n) ____________________ is the way files are stored and organized to simplify access to data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____________________ simply indicates where to enter commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
When working with pathnames in Linux, the ____________________ path method states the full pathname starting from the root (/).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
In Linux, a(n) ____________________ represents letters and characters used to specify a filename for searches.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
____________________ are files that point to data on the hard drive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
Match each statement with an item

-Contains the mount point for removable media.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
Match each statement with an item

-Contains shared libraries that are loaded when a program starts.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Match each statement with an item

-Contains device files such as the CD/DVD-ROM drive.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
Match each statement with an item

-Contains the Linux kernel and static files needed to boot the computer.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
Match each statement with an item

-Contains sharable, read-only applications and files.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
Match each statement with an item

-Contains static configuration files, which are also unshareable files meaning they're local to the machine.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
Match each statement with an item

-This directory should not contain subdirectories.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
Match each statement with an item

-Contains static sharable add-on software package.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
Match each statement with an item

-An optional directory.

A) /bin
B) /boot
C) /dev
D) /etc
E) /home
F) /lib
G) /media
H) /opt
I) /usr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Compare the Windows file system to the Linux file system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Describe one benefit of Filesystem Hierarchy Standard (FHS).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
Why is a basic understanding of Filesystem Hierarchy Standard (FHS) a valuable tool for Linux administrators and users?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
Describe how to open a terminal window in the KDE and GNOME desktops environments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
Why is learning the pwd (print working directory) command essential?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
When working with pathnames in Linux, explain the difference between using two dots and one dot in the pathname.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Discuss how file types are indicated onscreen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
What is POSIX?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
When should you update (touch) important files and scripts you have created?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
What is the main difference between the cp command and the mv command?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.