Deck 16: Working With the Command-Line Interface
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
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/119
Play
Full screen (f)
Deck 16: Working With the Command-Line Interface
1
Which command shows the contents of the current directory in Windows?
A)dir
B)directory
C)list
D)show
A)dir
B)directory
C)list
D)show
A
2
What is another name for a folder?
A)Directory
B)Program
C)System
D)Tree
A)Directory
B)Program
C)System
D)Tree
A
3
A file not within a subfolder is said to be in the _______________.
A)current directory
B)disk folder
C)root directory
D)window
A)current directory
B)disk folder
C)root directory
D)window
C
4
Windows uses a(n) _______________ to organize the contents in drives.
A)folder system
B)hierarchical directory tree
C)stacked sequential structure
D)linear table
A)folder system
B)hierarchical directory tree
C)stacked sequential structure
D)linear table
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
5
The exact location of a file is called its _______________.
A)file
B)folder
C)path
D)root
A)file
B)folder
C)path
D)root
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
6
Which of these is not a valid Microsoft Office file extension?
A).docx
B).pptx
C).gif
D).doc
A).docx
B).pptx
C).gif
D).doc
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
7
The file's ____ indicates what type of program uses the data by looking at the _______________.
A)partition; extension
B)extension; location
C)privileges; association
D)association; extension
A)partition; extension
B)extension; location
C)privileges; association
D)association; extension
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
8
A common way to access the command-line interface in Windows Vista/7 is through the _______________.
A)Registry
B)Library
C)Terminal Box
D)Start Menu
A)Registry
B)Library
C)Terminal Box
D)Start Menu
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
9
In Windows, hard drive partitions are usually start with the letter _______________.
A)A:
B)B:
C)C :
D)D:
A)A:
B)B:
C)C :
D)D:
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
10
The part of a file name following the period (.) is called the _______________.
A)Extension
B)Designation
C)Folder
D)Command
A)Extension
B)Designation
C)Folder
D)Command
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
11
A text-based user interface, in which users type in instructions at a prompt, is also known as a _______________ interface.
A)command-line
B)graphical user
C)mouse-enabled
D)Windows-based
A)command-line
B)graphical user
C)mouse-enabled
D)Windows-based
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
12
In older Windows versions, the filename was restricted to _______________ characters.
A)two
B)six
C)eight
D)ten
A)two
B)six
C)eight
D)ten
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
13
What Linux command describes the syntax and options of a specific command?
A)help
B)ls
C)man
D)xcopy
A)help
B)ls
C)man
D)xcopy
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
14
The command-line interface tells a user that it's ready to receive commands by displaying a specific set of characters called a(n) _______________.
A)command
B)key
C)prompt
D)signal
A)command
B)key
C)prompt
D)signal
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
15
What Linux command displays the current working directory?
A)pwd
B)workdir
C)dir
D)ls
A)pwd
B)workdir
C)dir
D)ls
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
16
In the Windows command-line syntax, a directory is referred to by which character(s)?
A)/
B)\
C):
D)..
A)/
B)\
C):
D)..
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
17
In Mac OS X and Linux, what is the shorthand character that represents a user's home directory?
A)/
B)\
C)~
D)@
A)/
B)\
C)~
D)@
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
18
What character represents the root of a Linux file system?
A)\
B)>
C)&
D)/
A)\
B)>
C)&
D)/
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
19
What separates a filename and its extension?
A)Colon
B)Comma
C)Hyphen
D)Period
A)Colon
B)Comma
C)Hyphen
D)Period
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
20
A folder inside another folder is called a(n) _______________.
A)root folder
B)root file
C)subfolder
D)sub-system
A)root folder
B)root file
C)subfolder
D)sub-system
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
21
Which Windowscommand will power down a local or remote computer?
A)restart
B)poweroff
C)shutdown
D)reboot
A)restart
B)poweroff
C)shutdown
D)reboot
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
22
What Linux command is used to create a new directory?
A)md
B)mkdir
C)make
D)dir
A)md
B)mkdir
C)make
D)dir
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
23
Which Windows command will copy encrypted files?
A)copy
B)robocopy
C)xcopy
D)move
A)copy
B)robocopy
C)xcopy
D)move
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
24
What Windows command displays or alters the compression of files on NTFS partitions?
A)compact
B)cipher
C)doskey
D)xpntfs
A)compact
B)cipher
C)doskey
D)xpntfs
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
25
Which Windows command always navigates the command-line interface back to the root directory?
A)cd ..
B)cd \
C)cd /
D)cd \..
A)cd ..
B)cd \
C)cd /
D)cd \..
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
26
A Windows command switch is expressed by using which character?
A)-
B):
C)\
D)/
A)-
B):
C)\
D)/
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
27
Which wildcard character replaces a single character in the command-line interface?
A)~
B)%
C)+
D)?
A)~
B)%
C)+
D)?
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
28
The standard copy/move commands can work on only one _______________ at a time.
A)directory
B)file
C)program
D)prompt
A)directory
B)file
C)program
D)prompt
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
29
Which command deletes a directory in Windows?
A)deldir
B)delfile
C)delroot
D)rd
A)deldir
B)delfile
C)delroot
D)rd
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
30
Which command will allow you to go up a single directory level at a time?
A)cd SPACE
B)cd \
C)cd ..
D)cd ENTER
A)cd SPACE
B)cd \
C)cd ..
D)cd ENTER
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
31
In Windows, the _______________ command displays or alters the encryption of directories on NTFS partitions.
A)cipher
B)color
C)compact
D)convert
A)cipher
B)color
C)compact
D)convert
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
32
Which Linux command lists the contents of a directory?
A)dir
B)ls
C)list
D)mv
A)dir
B)ls
C)list
D)mv
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
33
What character identifies a command option, or "switch", in Linux?
A)/
B)\
C)-
D)*
A)/
B)\
C)-
D)*
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
34
The cipher command works on _______________.
A)attributes
B)directories
C)disk drives
D)tables
A)attributes
B)directories
C)disk drives
D)tables
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
35
Which key in the Windows command-line interface brings back the previous command, one letter at a time?
A)F1
B)F3
C)F10
D)F12
A)F1
B)F3
C)F10
D)F12
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
36
What switch to the Linux cp command allows it to copy multiple folders and files?
A)-l
B)-R
C)-f
D)-m
A)-l
B)-R
C)-f
D)-m
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
37
The command-line interface tells a user it is ready to receive commands by displaying a specific set of characters called a(n) _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
38
Which program is not a built-in executable file in Linux?
A)dir
B)gnome-calculator
C)md
D)rd
A)dir
B)gnome-calculator
C)md
D)rd
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
39
Which of these characters gives you all possible switches for a Windows command?
A)/?
B)/H
C)/S
D)/P
A)/?
B)/H
C)/S
D)/P
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
40
Which command is used to create a new directory in Windows?
A)newdir
B)md\
C)md
D)mfolder
A)newdir
B)md\
C)md
D)mfolder
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
41
In Mac OS X and Linux, the _______________ character is shorthand for the user's home directory.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
42
If you attempt to enter a command and receive the "Windows needs your permission to continue" dialog box, you should right-click a command-prompt shortcut and select _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
43
On Mac OS X and on most Linux distros, the default shell is called _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
44
The Linux command _______________ displays the current working directory.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
45
The cd \ command in Windows always navigates back to the _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
46
Use the _______________ switch to get help on the syntax and switches of a Windows command.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
47
The prompt is pointed at the C : drive on a Windows machine.To change the focus to the D: drive, you would type _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
48
The Linux commands ____________________, and _______________ allow a normal user to execute commands that require advanced, or root, privileges.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
49
In Linux, / represents the _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
50
The _______________ of a filename informs the computer of the type or function of the file.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
51
On a Linux system it is considered bad manners to create files and folders in the _______________ directory.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
52
In Windows 8/8.1, the user should type _______________ in the Start screen's Search bar and press the Enter key to access the command-line interface.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
53
By default, _______________ drives get the next available drive letter after the last hard drive partition in Windows.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
54
Mac OS X and Linux do not use _______________ to move between drives.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
55
Extra text typed after a command to modify its operation, such as /w or /p after dir, is called a(n) _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
56
If you want to go up a single directory level, you can type cd followed immediately by _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
57
If the TEST directory in the C : drive had a subdirectory called SYSTEM, it would be shown as _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
58
The top level directory is also known as the _______________ directory.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
59
The Windows _______________ command shows only filenames and arranges them in five columns across the screen.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
60
A(n) _______________, represented in Linux by the | symbol, connects the output of one command to the input of a second command.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
61
The _______________ or _______________commands copy one or more files and delete the originals.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
62
The Windows System File Checker, or simply _______________ .exe, scans, detects, and restores important Windows system files, folders, and paths.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
63
The command to find every file that starts with the letter c is _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
64
The xcopy command with the _______________ switch is used to copy all subdirectories except for empty ones.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
65
Entering the command _______________ at a Command Prompt will scan, detect, and repair hard drive volume- and sector-related issues.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
66
To make a directory, the command _______________ or _______________ is used.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
67
Program filenames use the extension _______________ or _______________.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
68
Because xcopy works on directories, you do not have to specify _______________ as you would in copy.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
69
A "newer" file copy command, that was previously offered only as an add-on tool, called _______________ is now included in Windows Vista and 7.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
70
How is the command-line interface accessed in Windows?
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
71
Windows comes with a tool called _______________ that enables a user to copy multiple folders and subfolders.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
72
For removing directories, the _______________ command works in both Windows and Linux, but _______________ works only in Windows.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
73
The user can delete all the files in a directory by typing _______________ at the Command Prompt.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
74
If a command has its own executable file, it is called a(n) _______________ program.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
75
The Linux command _______________ copies a folder and all its subfolders.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
76
The Windows _______________ can copy files between a local computer and another computer across a network.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
77
In the command-line interface, there are two _______________ characters: the asterisk (*) and question mark (?).
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
78
The _______________ command will display the name of your computer.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
79
The Windows _______________ command will not delete a directory if it contains files or subdirectories.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck
80
Entering the command _______________ at a command prompt will scan, detect, and restore important Windows system files, folders, and paths.
Unlock Deck
Unlock for access to all 119 flashcards in this deck.
Unlock Deck
k this deck