Deck 3: Exploring Linux Filesystems
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/45
العب
ملء الشاشة (f)
Deck 3: Exploring Linux Filesystems
1
The ____ metacharacter can also be used to refer to the current user's home directory.
A) ~
B) @
C) &
D) #
A) ~
B) @
C) &
D) #
A
2
If you type enough unique letters of a directory and press ____ key, the BASH shell will find the intended file or directory being specified and fill in the appropriate information.
A) Alt
B) Tab
C) Ctrl
D) Esc
A) Alt
B) Tab
C) Ctrl
D) Esc
B
3
Pressing the Esc key at the prompt while using the more command displays a help screen.
False
4
Most files on a Linux system that contain configuration information are ____ files.
A) system
B) directory
C) text
D) program
A) system
B) directory
C) text
D) program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
5
The more command should not be used on binary files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
6
The ____ symbol indicates a linked file.
A) @
B) *
C) &
D) =
A) @
B) *
C) &
D) =
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
7
It is acceptable to use shell metacharacters when naming files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
8
The most common way to search for information using regular expressions is the grep command. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
9
The command strings /bin/echo displays the binary characters inside the /bin/echo binary executable program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
10
When you first open the vi editor, you are placed in edit mode. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
11
The ____ command can be used to provide a long listing for each file in a certain directory.
A) ls -T
B) ls -L
C) ls -F
D) ls -l
A) ls -T
B) ls -L
C) ls -F
D) ls -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
12
To move from the /home/joe/test/data to the /home/joe directory, use the ____ command.
A) cd ..
B) cd ../..
C) /home/joe
D) cd ./..
A) cd ..
B) cd ../..
C) /home/joe
D) cd ./..
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
13
The ____ command will confirm the system directory that you are currently in.
A) dir
B) pwd
C) whereami
D) ld
A) dir
B) pwd
C) whereami
D) ld
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
14
The three characters following a period in a file name are referred to as the filename extension. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
15
Filenames can include up to 200 characters. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
16
To view a list of files and their type, use the ____ switch to the ls command.
A) -T
B) -L
C) -F
D) -l
A) -T
B) -L
C) -F
D) -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
17
Using wildcard metacharacters, how can one indicate a number is either 1, 2, 3, or 4?
A) 1-4
B) [1-4]
C) [1234]
D) [1,2,3,4]
A) 1-4
B) [1-4]
C) [1234]
D) [1,2,3,4]
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
18
To display the contents of a file called data, use the command ____.
A) disp data
B) ls data
C) ls -l data
D) cat data
A) disp data
B) ls data
C) ls -l data
D) cat data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
19
In Linux, the root directory is represented by a \ character. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
20
Linux uses a logical directory tree to organize files into different folders.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
21
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Displays the first ten lines of a text file.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Displays the first ten lines of a text file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
22
The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.
A) *
B) ?
C) +
D) ^
A) *
B) ?
C) +
D) ^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
23
The ____ can be used with LISP artificial intelligence programming language and supports hundreds of keyboard functions like the vi editor.
A) Kedit editor
B) Mcedit editor
C) Emacs editor
D) Nedit editor
A) Kedit editor
B) Mcedit editor
C) Emacs editor
D) Nedit editor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
24
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
A file that contains the most recent entries at the bottom of the file.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
A file that contains the most recent entries at the bottom of the file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
25
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
A file that represents a device on the system, such as a hard disk or serial port.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
A file that represents a device on the system, such as a hard disk or serial port.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
26
Text wildcards used to ease the searching of specific text information are called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
27
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Identifies a channel that passes information from one process in memory to another, and in some cases can be mediated by files on the hard drive.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Identifies a channel that passes information from one process in memory to another, and in some cases can be mediated by files on the hard drive.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
28
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Files that have an association with one another.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Files that have an association with one another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
29
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Displays lines of text that match extended regular expressions.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Displays lines of text that match extended regular expressions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
30
The file .file.dat is an example of a(n) ____________________ file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
31
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
A file that allows a process on another computer to write to a file on the local computer while another process reads from that file.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
A file that allows a process on another computer to write to a file on the local computer while another process reads from that file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
32
In a file listing, the 9 characters following the file type (for example, -rwxr-xr-x) refer to the file's ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
33
An alternative to the vi editor that offers an equal set of functionality is the GNU ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
34
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Special file that serves as placeholders to organize other files.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Special file that serves as placeholders to organize other files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which is an extended regular expression metacharacter?
A) .
B) [...]
C) ^
D) {}
A) .
B) [...]
C) ^
D) {}
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
36
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?
A) $
B) x
C) Ctrl+g
D) P
A) $
B) x
C) Ctrl+g
D) P
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
37
The ____ editor is functionally analogous to the Windows Wordpad and Notepad editors.
A) XEmacs
B) vi
C) Emacs
D) gedit
A) XEmacs
B) vi
C) Emacs
D) gedit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
38
When a user logs into their Linux system, he is placed in the ____________________ directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
39
The ____ command displays the last five lines of a text file.
A) end -5
B) head -5
C) stop -5
D) tail -5
A) end -5
B) head -5
C) stop -5
D) tail -5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
40
Match each correct item with the statement below.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Displays a file in reverse order.
a.log file
f.socket file
b.tac command
g.head command
c.directory
h.special device file
d.named pipe
i.linked files
e.egrep command
Displays a file in reverse order.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
41
What is the disadvantage of using the cat command to display a very large text file? How can you get around this problem?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
42
What does the cd command do? What happens if you use this command without an argument?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
43
What is the difference between an absolute and a relative pathname? What is a benefit of each?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
44
Why is the vi editor called a bimodal editor? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
45
List at least three differences between wildcard metacharacters and regular expressions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck