Chapter 18: Command-Line Interface Flashcards

1
Q

How do you find the contents of a folder using the command line

A

command prompt (dir)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How you access the command line

A

Start/ Run cmd or command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a folder within a folder called

A

subfolder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How would you type a command prompt with a folder named TEST in the root directory

A

C:\Test\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The proper way to write a command is called its?

A

Syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Modifications that use an extra letter or number are also called?

A

Switch or Option

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Typing a command followed by /? Tells you what

A

The syntax and switches by a particular command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does a command prompt (dir) show you

A

The contents where the prompt is focused

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the command line what is the command for page like results

A

dir/[space] p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the command to change the focus of the command prompt

A

cd\ fallowed by the specific directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Command to return to the root directory

A

cd\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the command to go up a single directory level

A

cd..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Command to move between drives

A

Drive letter followed by a colon (e:)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the command to create a new directory

A

md followed by a space and directory name

md [space] New folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command to delete directories

A

rd followed by a space and the directory name

rd [space] New folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the switch to delete all directories and subdirectories

A

Foward slash followed by the letter S

/s

17
Q

What is the command to show file attributes

A

attrib followed by the file name and extension

attrib [space] ios.ipa

18
Q

How do you change a hidden file attribute to viewable in the command prompt

A

attrib -h filename.exe

19
Q

Command to delete a file in command prompt

A

erase or del followed by file name

20
Q

Command to copy or move files within a directory to another directory

A

copy or move followed by the file name (and drive letter) (copy text.txt e:)

21
Q

Command to copy multiple directories and its contents

A

xcopy followed by the destination name the s switch. ( xcopy c:\date c:\date2 /s)

22
Q

Command to copy and delete files across a network

A

robocopy