Deck 6: Directory Commands
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 6: Directory Commands
1
What command will allow a CentOS 7 user the ability to move files and directories in the directory tree?
A)mv
B)rm
C)DEL
D)ERASE
A)mv
B)rm
C)DEL
D)ERASE
B
2
What command can a CentOS 7 user execute to allow them to page through a list of directories and files on a disk that is too long for a one-screen display?
A)chroot
B)dirs
C)dirname
D)more
A)chroot
B)dirs
C)dirname
D)more
D
3
In the Windows 10 CLI, if you omit the path in the TREE command, the command displays an error message.
False
4
The RENAME and REN commands do not allow you to specify a new drive or path for your destination file.
Indicate the answer choice that best completes the statement or answers the question.
Indicate the answer choice that best completes the statement or answers the question.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
In CentOS 7, what command allows you to copy files to a formatted disk or a USB drive?
A)ren
B)floppy
C)cp
D)cd
A)ren
B)floppy
C)cp
D)cd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
What command will allow a CentOS 7 user the ability to copy files or directories in the directory tree?
A)cp
B)COPY
C)XCOPY
D)cd
A)cp
B)COPY
C)XCOPY
D)cd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
When administering CentOS 7, which ls command option can be added to view any hidden files?
A)-$
B)-h
C)-a
D)-r
A)-$
B)-h
C)-a
D)-r
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
When using the FORMAT command in Windows 10 to format a disk, what switch can specify a volume label of up to eleven characters?
A)/C
B)-V
C)/V
D)/11
A)/C
B)-V
C)/V
D)/11
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
In Windows, what is the term to define any blank area in a window?
A)input space
B)white space
C)open space
D)unused space
A)input space
B)white space
C)open space
D)unused space
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Windows and Linux based operating systems use different types of general logic for entering commands. What is the alternative name that refers to these different logics?
A)syntax
B)CLI
C)programs
D)options
A)syntax
B)CLI
C)programs
D)options
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
When you are navigating through a system's directories within the Windows 10 CLI, what command will allow you to back up one subdirectory?
A)cd /b
B)CD ..
C)cd //
D)CD .
A)cd /b
B)CD ..
C)cd //
D)CD .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
The Windows 10 CLI requires quotation marks to enclose filenames that contain spaces.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
In Windows 10, you can open the command prompt console by clicking Start and then clicking which element?
A)All apps
B)File Explorer
C)Settings
D)Command
A)All apps
B)File Explorer
C)Settings
D)Command
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
When using the RD command in the Windows 10 CLI, what switch will execute the removal of all directories and files in the specified directory and the directory itself?
A)/Q
B)/R
C)/S
D)/T
A)/Q
B)/R
C)/S
D)/T
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
Before using a removable disk with CentOS 7, what must an administrator do before they format the removable disk?
A)mount
B)partition
C)expand
D)unmount
A)mount
B)partition
C)expand
D)unmount
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
As a CentOS 7 superuser, you can arrange information anywhere in the directory structure.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
In Windows 10, when you are entering commands into the CLI you can use two wildcard characters. One of these wildcard characters is the star (*); what is the other wildcard character that can be used?
A)exclamation mark (!)
B)question mark (?)
C)dollar sign ($)
D)ampersand (&)
A)exclamation mark (!)
B)question mark (?)
C)dollar sign ($)
D)ampersand (&)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
Directories cannot be alphabetically sorted using the Windows 10 CLI.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
When working in the Windows 10 CLI, the XCOPY command can be used with what switch to make the operating system not display filenames while copying?
A)/E
B)/Q
C)/S
D)/V
A)/E
B)/Q
C)/S
D)/V
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
Windows Explorer has a pane located on the left side which can display the directory structure of one or more drives. What is the name of this pane?
A)Folder pane.
B)File pane
C)Directory pane
D)Navigation pane
A)Folder pane.
B)File pane
C)Directory pane
D)Navigation pane
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Windows command to remove a directory
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Windows command to remove a directory
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A line area within the command window where you type Windows or Linux commands
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A line area within the command window where you type Windows or Linux commands
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
In the Windows 10 CLI, what command can you use to copy one or more files to an alternative location?
A)DIR
B)TREE
C)CD
D)COPY
A)DIR
B)TREE
C)CD
D)COPY
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
CLI commands in Windows 10 are issued on a line that is usually identified by what type of blinking element?
A)line
B)word
C)cursor
D)box
A)line
B)word
C)cursor
D)box
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Windows command to rename a file
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Windows command to rename a file
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A more powerful version of the Windows COPY command, with additional features
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A more powerful version of the Windows COPY command, with additional features
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
To include filenames in the structure shown by the Windows 10 TREE command, you should use what switch?
A)/A
B)/D
C)/F
D)/T
A)/A
B)/D
C)/F
D)/T
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
In CentOS 7, to control the order in which items appear in a list, you can pipe the output of the ls command to which additional command?
A)sort
B)pwd
C)select
D)find
A)sort
B)pwd
C)select
D)find
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A path or link through which information passes between two devices
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A path or link through which information passes between two devices
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
In the CentOS 7 CLI, you create a directory using which command?
A)mkdir
B)CHDIR
C)MD
D)cd
A)mkdir
B)CHDIR
C)MD
D)cd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
used in Windows and Linux to transfer the output of one command to the input of a second command
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
used in Windows and Linux to transfer the output of one command to the input of a second command
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Linux command used to copy files, similar to the COPY command in Windows
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Linux command used to copy files, similar to the COPY command in Windows
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Linux command that creates a directory or subdirectory
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The Linux command that creates a directory or subdirectory
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
In Windows 10, to view a graphical representation of the directories on a disk you can use the which command?
A)DIRUSE
B)TREE
C)DSQUERY
D)DELTREE
A)DIRUSE
B)TREE
C)DSQUERY
D)DELTREE
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A Windows command that displays a list of files and subdirectories
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
A Windows command that displays a list of files and subdirectories
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
What type of interface allows you to issue commands efficiently, view the directory structure, and execute other tasks?
A)GUI
B)CLI
C)CP
D)XCOPY
A)GUI
B)CLI
C)CP
D)XCOPY
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
In the Windows 10 CLI, which command will create a subdirectory?
A)TREE
B)MD
C)CD
D)DIR
A)TREE
B)MD
C)CD
D)DIR
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Match each item with a statement below.
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The command used in Windows to produce a graphical view of files in a directory or subdirectories
a.command prompt
b.pipe symbol
c.REN
d.TREE
e.XCOPY
f.cp
g.DIR
h.RD
i.mkdir
j.standardized channel
The command used in Windows to produce a graphical view of files in a directory or subdirectories
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Which command in the Windows 10 CLI specifies that you want to display the current drive and directory?
A)cd /d
B)cd /p
C)CD
D)CD .
A)cd /d
B)cd /p
C)CD
D)CD .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Which command switch can a CentOS 7 administrator use to list entries in reverse order?
A)-b
B)-a
C)-i
D)-r
A)-b
B)-a
C)-i
D)-r
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Under what circumstances would you use the XCOPY command in the Windows 10 CLI?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
How do you remove a directory using the Windows 10 GUI?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
When you are a regular user, where are you positioned when you first log on to CentOS 7 and what permissions do you have?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What happens to the working directory when you execute the CD command in Windows 10?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What is the MD (make directory) command syntax and options?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
How do you format a removable drive in the Windows 10 CLI?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
What are four tasks you can perform to keep your files up to date?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Describe the similarities between the mv and cp commands used in the CentOS 7 CLI?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
How do you format a removable drive in the Windows 10 GUI?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Describe how the command-line interface is used in Windows 10?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck