Deck 4: Exploring Linux Filesystems

ملء الشاشة (f)
exit full mode
سؤال
Which is an extended regular expression metacharacter?

A).
B)[...]
C)^
D){}
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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 ./..
سؤال
The ls ____ command can be used to provide a long listing for each file in a certain directory.

A)-T
B)-L
C)-F
D)-l
سؤال
Linux uses a logical directory tree to organize files into different folders.
سؤال
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
سؤال
Using wildcard metacharacters, how can one indicate a number is 1 or 2 or 3 or 4?

A)1-4
B)[1-4]
C)[1234]
D)[1,2,3,4]
سؤال
Pressing the Esc key at the prompt while using the more command displays a help screen.
سؤال
The ____ metacharacter can also be used to refer to the current user's home directory.

A)~
B)@
C)&
D)#
سؤال
The more command should not be used on binary files.
سؤال
The ____ editor is distributed with the GNOME environment.

A)xemacs
B)kedit
C)emacs
D)gedit
سؤال
You may access much of the functionality of ____ by using the function keys on the keyboard as described at the bottom of the screen.

A)gedit
B)mcedit
C)emacs
D)nedit
سؤال
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 linked file is followed by a(n)____.

A)@
B)*
C)/
D)=
سؤال
The command strings /bin/echo displays the binary characters inside the /bin/echo binary executable program.
سؤال
The ____ command will confirm the directory that you are currently in on the system.

A)dir
B)pwd
C)whereami
D)ld
سؤال
To view a list of files and their type, use the ____ switch to the ls command.

A)-T
B)-L
C)-F
D)-l
سؤال
The ____ command displays the last 10 lines of a text file.

A)end -10
B)head -10
C)stop -10
D)tail -10
سؤال
Most files on a Linux system that contain configuration information are ____ files.

A)system
B)directory
C)text
D)program
سؤال
Your current directory is /home, and the contents of the directory are fred, john, and steve. If you type the command cd /home/s and then press the ____ key, the command cd /home/steve will be displayed on the terminal screen.

A)Alt
B)Tab
C)Ctrl
D)Esc
سؤال
It is acceptable to use shell metacharacters when naming files.
سؤال
When a user logs into their Linux system, he is placed in the _________________________ directory.
سؤال
Match between columns
Displays the first 10 lines of a text file.
log file
Displays the first 10 lines of a text file.
special device file
Displays the first 10 lines of a text file.
linked files
Displays the first 10 lines of a text file.
socket file
Displays the first 10 lines of a text file.
head command
Displays the first 10 lines of a text file.
directory
Displays the first 10 lines of a text file.
named pipe
Displays the first 10 lines of a text file.
egrep
Displays the first 10 lines of a text file.
tac command
Displays a file in reverse order.
log file
Displays a file in reverse order.
special device file
Displays a file in reverse order.
linked files
Displays a file in reverse order.
socket file
Displays a file in reverse order.
head command
Displays a file in reverse order.
directory
Displays a file in reverse order.
named pipe
Displays a file in reverse order.
egrep
Displays a file in reverse order.
tac command
A file that contains the most recent entries at the bottom of the file.
log file
A file that contains the most recent entries at the bottom of the file.
special device file
A file that contains the most recent entries at the bottom of the file.
linked files
A file that contains the most recent entries at the bottom of the file.
socket file
A file that contains the most recent entries at the bottom of the file.
head command
A file that contains the most recent entries at the bottom of the file.
directory
A file that contains the most recent entries at the bottom of the file.
named pipe
A file that contains the most recent entries at the bottom of the file.
egrep
A file that contains the most recent entries at the bottom of the file.
tac command
Displays lines of text that match extended regular expressions.
log file
Displays lines of text that match extended regular expressions.
special device file
Displays lines of text that match extended regular expressions.
linked files
Displays lines of text that match extended regular expressions.
socket file
Displays lines of text that match extended regular expressions.
head command
Displays lines of text that match extended regular expressions.
directory
Displays lines of text that match extended regular expressions.
named pipe
Displays lines of text that match extended regular expressions.
egrep
Displays lines of text that match extended regular expressions.
tac command
Special file that serves as placeholders to organize other files.
log file
Special file that serves as placeholders to organize other files.
special device file
Special file that serves as placeholders to organize other files.
linked files
Special file that serves as placeholders to organize other files.
socket file
Special file that serves as placeholders to organize other files.
head command
Special file that serves as placeholders to organize other files.
directory
Special file that serves as placeholders to organize other files.
named pipe
Special file that serves as placeholders to organize other files.
egrep
Special file that serves as placeholders to organize other files.
tac 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.
log file
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.
special device file
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.
linked files
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.
socket file
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.
head 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.
directory
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.
named pipe
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.
egrep
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.
tac command
Files that have an association with one another.
log file
Files that have an association with one another.
special device file
Files that have an association with one another.
linked files
Files that have an association with one another.
socket file
Files that have an association with one another.
head command
Files that have an association with one another.
directory
Files that have an association with one another.
named pipe
Files that have an association with one another.
egrep
Files that have an association with one another.
tac 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.
log file
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.
special device file
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.
linked files
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.
socket file
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.
head 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.
directory
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.
named pipe
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.
egrep
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.
tac command
A file that represents a device on the system, such as a hard disk or serial port.
log file
A file that represents a device on the system, such as a hard disk or serial port.
special device file
A file that represents a device on the system, such as a hard disk or serial port.
linked files
A file that represents a device on the system, such as a hard disk or serial port.
socket file
A file that represents a device on the system, such as a hard disk or serial port.
head command
A file that represents a device on the system, such as a hard disk or serial port.
directory
A file that represents a device on the system, such as a hard disk or serial port.
named pipe
A file that represents a device on the system, such as a hard disk or serial port.
egrep
A file that represents a device on the system, such as a hard disk or serial port.
tac command
سؤال
In a file listing, the 9 characters following the file type (for example, -rwxr-xr-x )refer to the file's _________________________.
سؤال
Why is the vi editor called a bi-modal editor? Explain.
سؤال
An alternative to the vi editor that offers an equal set of functionality is the GNU _________________________.
سؤال
What is the disadvantage of using the cat command to display a very large text file? How can you get around this problem?
سؤال
Special metacharacters used to match patterns of text within text files are called _________________________.
سؤال
The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.

A)*
B)?
C)+
D)^
سؤال
What does the cd command do? What happens if you use this command without an argument?
سؤال
List three differences between wildcard metacharacters and regular expressions.
سؤال
The file .file.dat is an example of a(n)_________________________ file.
سؤال
What is the difference between an absolute and a relative pathname? What is a benefit of each?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/32
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Exploring Linux Filesystems
1
Which is an extended regular expression metacharacter?

A).
B)[...]
C)^
D){}
D
2
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 ./..
B
3
The ls ____ command can be used to provide a long listing for each file in a certain directory.

A)-T
B)-L
C)-F
D)-l
D
4
Linux uses a logical directory tree to organize files into different folders.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
5
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
6
Using wildcard metacharacters, how can one indicate a number is 1 or 2 or 3 or 4?

A)1-4
B)[1-4]
C)[1234]
D)[1,2,3,4]
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
7
Pressing the Esc key at the prompt while using the more command displays a help screen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
8
The ____ metacharacter can also be used to refer to the current user's home directory.

A)~
B)@
C)&
D)#
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
9
The more command should not be used on binary files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
10
The ____ editor is distributed with the GNOME environment.

A)xemacs
B)kedit
C)emacs
D)gedit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
11
You may access much of the functionality of ____ by using the function keys on the keyboard as described at the bottom of the screen.

A)gedit
B)mcedit
C)emacs
D)nedit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
12
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
13
A linked file is followed by a(n)____.

A)@
B)*
C)/
D)=
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
14
The command strings /bin/echo displays the binary characters inside the /bin/echo binary executable program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
15
The ____ command will confirm the directory that you are currently in on the system.

A)dir
B)pwd
C)whereami
D)ld
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
17
The ____ command displays the last 10 lines of a text file.

A)end -10
B)head -10
C)stop -10
D)tail -10
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
18
Most files on a Linux system that contain configuration information are ____ files.

A)system
B)directory
C)text
D)program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
19
Your current directory is /home, and the contents of the directory are fred, john, and steve. If you type the command cd /home/s and then press the ____ key, the command cd /home/steve will be displayed on the terminal screen.

A)Alt
B)Tab
C)Ctrl
D)Esc
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
20
It is acceptable to use shell metacharacters when naming files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
21
When a user logs into their Linux system, he is placed in the _________________________ directory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
22
Match between columns
Displays the first 10 lines of a text file.
log file
Displays the first 10 lines of a text file.
special device file
Displays the first 10 lines of a text file.
linked files
Displays the first 10 lines of a text file.
socket file
Displays the first 10 lines of a text file.
head command
Displays the first 10 lines of a text file.
directory
Displays the first 10 lines of a text file.
named pipe
Displays the first 10 lines of a text file.
egrep
Displays the first 10 lines of a text file.
tac command
Displays a file in reverse order.
log file
Displays a file in reverse order.
special device file
Displays a file in reverse order.
linked files
Displays a file in reverse order.
socket file
Displays a file in reverse order.
head command
Displays a file in reverse order.
directory
Displays a file in reverse order.
named pipe
Displays a file in reverse order.
egrep
Displays a file in reverse order.
tac command
A file that contains the most recent entries at the bottom of the file.
log file
A file that contains the most recent entries at the bottom of the file.
special device file
A file that contains the most recent entries at the bottom of the file.
linked files
A file that contains the most recent entries at the bottom of the file.
socket file
A file that contains the most recent entries at the bottom of the file.
head command
A file that contains the most recent entries at the bottom of the file.
directory
A file that contains the most recent entries at the bottom of the file.
named pipe
A file that contains the most recent entries at the bottom of the file.
egrep
A file that contains the most recent entries at the bottom of the file.
tac command
Displays lines of text that match extended regular expressions.
log file
Displays lines of text that match extended regular expressions.
special device file
Displays lines of text that match extended regular expressions.
linked files
Displays lines of text that match extended regular expressions.
socket file
Displays lines of text that match extended regular expressions.
head command
Displays lines of text that match extended regular expressions.
directory
Displays lines of text that match extended regular expressions.
named pipe
Displays lines of text that match extended regular expressions.
egrep
Displays lines of text that match extended regular expressions.
tac command
Special file that serves as placeholders to organize other files.
log file
Special file that serves as placeholders to organize other files.
special device file
Special file that serves as placeholders to organize other files.
linked files
Special file that serves as placeholders to organize other files.
socket file
Special file that serves as placeholders to organize other files.
head command
Special file that serves as placeholders to organize other files.
directory
Special file that serves as placeholders to organize other files.
named pipe
Special file that serves as placeholders to organize other files.
egrep
Special file that serves as placeholders to organize other files.
tac 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.
log file
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.
special device file
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.
linked files
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.
socket file
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.
head 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.
directory
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.
named pipe
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.
egrep
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.
tac command
Files that have an association with one another.
log file
Files that have an association with one another.
special device file
Files that have an association with one another.
linked files
Files that have an association with one another.
socket file
Files that have an association with one another.
head command
Files that have an association with one another.
directory
Files that have an association with one another.
named pipe
Files that have an association with one another.
egrep
Files that have an association with one another.
tac 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.
log file
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.
special device file
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.
linked files
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.
socket file
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.
head 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.
directory
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.
named pipe
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.
egrep
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.
tac command
A file that represents a device on the system, such as a hard disk or serial port.
log file
A file that represents a device on the system, such as a hard disk or serial port.
special device file
A file that represents a device on the system, such as a hard disk or serial port.
linked files
A file that represents a device on the system, such as a hard disk or serial port.
socket file
A file that represents a device on the system, such as a hard disk or serial port.
head command
A file that represents a device on the system, such as a hard disk or serial port.
directory
A file that represents a device on the system, such as a hard disk or serial port.
named pipe
A file that represents a device on the system, such as a hard disk or serial port.
egrep
A file that represents a device on the system, such as a hard disk or serial port.
tac command
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
23
In a file listing, the 9 characters following the file type (for example, -rwxr-xr-x )refer to the file's _________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
24
Why is the vi editor called a bi-modal editor? Explain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
25
An alternative to the vi editor that offers an equal set of functionality is the GNU _________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
26
What is the disadvantage of using the cat command to display a very large text file? How can you get around this problem?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
27
Special metacharacters used to match patterns of text within text files are called _________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
28
The ____ regular expression metacharacter matches 0 or more occurrences of the previous character.

A)*
B)?
C)+
D)^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
29
What does the cd command do? What happens if you use this command without an argument?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
30
List three differences between wildcard metacharacters and regular expressions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
31
The file .file.dat is an example of a(n)_________________________ file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
32
What is the difference between an absolute and a relative pathname? What is a benefit of each?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 32 في هذه المجموعة.