Deck 8: The Command Line

ملء الشاشة (f)
exit full mode
سؤال
To see a list of available commands at the Windows 10 command prompt, what command can be executed?

A)MAN
B)HELP
C)DOC
D)DIR
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In CentOS 7, the shell interprets the commands in what type of session?

A)batch
B)system
C)terminal
D)editor
سؤال
In Windows 10, what command will allow you to use the completion feature during an editing session?

A)CMD /F:
B)CMD /F:ON
C)CD /F:ON
D)CMD /F:1
سؤال
What type of variable is utilized by CentOS 7 and Windows 10 to refer to various features of the computer system and certain basic system data?

A)System
B)Data
C)Kernel
D)Environment
سؤال
In CentOS 7, what command is to to extract fields from a file line (record)?

A)sort
B)less
C)set
D)cut
سؤال
What type of environment variables are established at login?

A)batch
B)predefined
C)local
D)extended
سؤال
To redirect the PRINT command output to a network printer using the UNC format, what syntax would you use?

A)\\servername
B)\\printername
C)\\printname\servername\
D)\\servername\printername
سؤال
In Windows 10, what command is used to display text to the console?

A)Monitor
B)Console
C)Echo
D)Mirror
سؤال
In Windows 10 use the TYPE command to display the contents of a text file on the standard output device.
سؤال
What tab in the command prompt properties box allows you to select the screen buffer and window sizes of the command prompt?

A)Layout
B)Font
C)Options
D)Colors
سؤال
When using CentOS 7, what is the correct syntax to redirect the output of the ls command to a file named myReport?

A)ls -l *.* > myReport
B)ls /l *.* < myReport
C)ls -l < myReport
D)ls -l myReport
سؤال
In CentOS 7, what command displays the contents of an ASCII file to the standard output device?

A)file
B)print
C)cat
D)show
سؤال
By changing default settings in the Console Windows Properties dialog box, you will only affect the current command prompt.
Indicate the answer choice that best completes the statement or answers the question.
سؤال
What command in the Windows 10 CLI will display the contents of a text file on the standard output device?

A)TYPE
B)PRINT
C)ASSOC
D)XCOPY
سؤال
The CentOS 7 tail command reads an entire file before printing it.
سؤال
When a user is viewing a command's man page in CentOS 7, what area will give you information about the syntax of the command?

A)Synopsis
B)Options
C)Format
D)Syntax
سؤال
In CentOS 7, what command will search a file and then print all the lines that match your search?

A)more
B)less
C)tail
D)grep
سؤال
You can use both input and output redirection with the same CentOS 7 command.
سؤال
The man pages are Help files you use to reference commands in CentOS 7.
سؤال
The MORE filter displays one screen of information at a time, how many lines of information are displayed?

A)8
B)16
C)24
D)32
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command in CentOS 7 that displays the contents of an ASCII file on the standard output device
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A temporary connection between two commands, represented by the | symbol
سؤال
What single-function command-line tool concept does PowerShell introduce?

A)comm
B)cmdlet
C)cmd
D)regedit
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A small command in PowerShell
سؤال
In CentOS 7, what command will allow you to access the man pages for the grep command?

A)grep man
B)man grep
C)help grep
D)grep page
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command in Windows 10 that displays text to the standard output device
سؤال
In Windows 10, what command will redirect the output of DIR command to a local printer?

A)DIR /S *.* > list
B)DIR /S *.* prn
C)DIR /S *.* > prn
D)DIR /S > prn
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
To change the direction of command output or input from the standard location
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A string used to specify the location of resources, such as shared files or devices
سؤال
Before a command is echoed on the console, where must it first pass through?

A)STDOUT
B)STDIN
C)STDERR
D)STDDEV
سؤال
The CentOS 7 head command prints how many lines from a file to standard output?

A)5
B)10
C)15
D)20
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command that allows backward movement when you view file contents
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
An invoked interface that parses and interprets command lines and code for execution on behalf of a user interface or program process
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command in CentOS 7 that searches a file or files by keyword
سؤال
What type of command does PowerShell allow a user to create when they are having trouble remembering a specific cmdlets name?

A)Alias
B)Ghost
C)Sub
D)Mirror
سؤال
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A term used in the CentOS 7 man pages to describe the syntax of commands
سؤال
When using the Edit menu within the Command Prompt or PowerShell, what task will display a dialog box to find a text string within the Command Prompt?

A)copy
B)mark
C)select
D)find
سؤال
In Windows 10, what command can be used without any arguments to display all environment variables along with their values?

A)sort
B)envar
C)view
D)set
سؤال
When a user is viewing a command's man page in CentOS 7, what area will show you the variety of switches you can use with the command?

A)Synopsis
B)Options
C)Format
D)Syntax
سؤال
What Windows 10 shortcut is used to copy the current command in the history buffer to the command prompt, up to the first occurrence of the character you specify?

A)F1
B)F2
C)F3
D)F4
سؤال
Describe the CentOS 7 shell.
سؤال
What helpful feature at the command line and in PowerShell can you use when you are unsure of the directory name or filename that you need?
سؤال
How do you use the completion feature in Windows 10?
سؤال
What benefits will a user gain if they learn Command Prompt and PowerShell?
سؤال
How is one filter command connected to another?
سؤال
How do you reuse a command in the Windows 10 command history?
سؤال
How do you use a mouse in the Windows 10 command prompt edit menu?
سؤال
What are at least three benefits to using the command line shell with the Windows 10 CLI?
سؤال
Describe the basic naming structure of a PowerShell cmdlet.
سؤال
What are the man pages used for in CentOS 7?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 8: The Command Line
1
To see a list of available commands at the Windows 10 command prompt, what command can be executed?

A)MAN
B)HELP
C)DOC
D)DIR
B
2
In CentOS 7, the shell interprets the commands in what type of session?

A)batch
B)system
C)terminal
D)editor
C
3
In Windows 10, what command will allow you to use the completion feature during an editing session?

A)CMD /F:
B)CMD /F:ON
C)CD /F:ON
D)CMD /F:1
B
4
What type of variable is utilized by CentOS 7 and Windows 10 to refer to various features of the computer system and certain basic system data?

A)System
B)Data
C)Kernel
D)Environment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
In CentOS 7, what command is to to extract fields from a file line (record)?

A)sort
B)less
C)set
D)cut
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
What type of environment variables are established at login?

A)batch
B)predefined
C)local
D)extended
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
To redirect the PRINT command output to a network printer using the UNC format, what syntax would you use?

A)\\servername
B)\\printername
C)\\printname\servername\
D)\\servername\printername
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
In Windows 10, what command is used to display text to the console?

A)Monitor
B)Console
C)Echo
D)Mirror
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
In Windows 10 use the TYPE command to display the contents of a text file on the standard output device.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
What tab in the command prompt properties box allows you to select the screen buffer and window sizes of the command prompt?

A)Layout
B)Font
C)Options
D)Colors
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
When using CentOS 7, what is the correct syntax to redirect the output of the ls command to a file named myReport?

A)ls -l *.* > myReport
B)ls /l *.* < myReport
C)ls -l < myReport
D)ls -l myReport
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
In CentOS 7, what command displays the contents of an ASCII file to the standard output device?

A)file
B)print
C)cat
D)show
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
By changing default settings in the Console Windows Properties dialog box, you will only affect the current command prompt.
Indicate the answer choice that best completes the statement or answers the question.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
What command in the Windows 10 CLI will display the contents of a text file on the standard output device?

A)TYPE
B)PRINT
C)ASSOC
D)XCOPY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The CentOS 7 tail command reads an entire file before printing it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
When a user is viewing a command's man page in CentOS 7, what area will give you information about the syntax of the command?

A)Synopsis
B)Options
C)Format
D)Syntax
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
In CentOS 7, what command will search a file and then print all the lines that match your search?

A)more
B)less
C)tail
D)grep
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
You can use both input and output redirection with the same CentOS 7 command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
The man pages are Help files you use to reference commands in CentOS 7.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The MORE filter displays one screen of information at a time, how many lines of information are displayed?

A)8
B)16
C)24
D)32
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command in CentOS 7 that displays the contents of an ASCII file on the standard output device
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A temporary connection between two commands, represented by the | symbol
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
What single-function command-line tool concept does PowerShell introduce?

A)comm
B)cmdlet
C)cmd
D)regedit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A small command in PowerShell
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
In CentOS 7, what command will allow you to access the man pages for the grep command?

A)grep man
B)man grep
C)help grep
D)grep page
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command in Windows 10 that displays text to the standard output device
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
In Windows 10, what command will redirect the output of DIR command to a local printer?

A)DIR /S *.* > list
B)DIR /S *.* prn
C)DIR /S *.* > prn
D)DIR /S > prn
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
To change the direction of command output or input from the standard location
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A string used to specify the location of resources, such as shared files or devices
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Before a command is echoed on the console, where must it first pass through?

A)STDOUT
B)STDIN
C)STDERR
D)STDDEV
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
The CentOS 7 head command prints how many lines from a file to standard output?

A)5
B)10
C)15
D)20
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command that allows backward movement when you view file contents
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
An invoked interface that parses and interprets command lines and code for execution on behalf of a user interface or program process
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A command in CentOS 7 that searches a file or files by keyword
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
What type of command does PowerShell allow a user to create when they are having trouble remembering a specific cmdlets name?

A)Alias
B)Ghost
C)Sub
D)Mirror
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
Match each item with a statement below.
a.shell
b.UNC
c.ECHO
d.cmdlet
e.grep
f.synopsis
g.pipe
h.redirect
i.cat
j.less
A term used in the CentOS 7 man pages to describe the syntax of commands
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
When using the Edit menu within the Command Prompt or PowerShell, what task will display a dialog box to find a text string within the Command Prompt?

A)copy
B)mark
C)select
D)find
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
In Windows 10, what command can be used without any arguments to display all environment variables along with their values?

A)sort
B)envar
C)view
D)set
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
When a user is viewing a command's man page in CentOS 7, what area will show you the variety of switches you can use with the command?

A)Synopsis
B)Options
C)Format
D)Syntax
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
What Windows 10 shortcut is used to copy the current command in the history buffer to the command prompt, up to the first occurrence of the character you specify?

A)F1
B)F2
C)F3
D)F4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Describe the CentOS 7 shell.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
What helpful feature at the command line and in PowerShell can you use when you are unsure of the directory name or filename that you need?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
How do you use the completion feature in Windows 10?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
What benefits will a user gain if they learn Command Prompt and PowerShell?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
How is one filter command connected to another?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
How do you reuse a command in the Windows 10 command history?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
How do you use a mouse in the Windows 10 command prompt edit menu?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
What are at least three benefits to using the command line shell with the Windows 10 CLI?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
Describe the basic naming structure of a PowerShell cmdlet.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
What are the man pages used for in CentOS 7?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.