Windows Command Line Flashcards

1
Q

Command to change directories

A

cd

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

Command to change directories example

A

cd Jake

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

Command to go to parent directory

A

cd ..

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

Command to go back two parent directories

A

cd ../..

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

Command to change two directories example

A

cd Jake\Desktop

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

Command to autocomplete

A

Tab

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

Command to view the contents of a directory

A

dir

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

Command to view the contents of a directory you’re not currently in example

A

dir Desktop\data

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

Command to show hidden directories as well

A

/a

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

Command to show hidden directories as well example

A

dir /a

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

Command to clear the command line

A

cls

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

Command to only list files of a certain type

A

*

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

Command to only list files of a certain type example

A

dir *.png

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

Command to reach previous commands

A

up arrow

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

Command to open a file in the default program

A

name of file

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

Command to find what any command does

A

/?

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

Command to find what any command does example

A

ipconfig /?

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

Command to make a new directory

A

mkdir

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

Command to make a new directory example

A

mkdir Photos

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

Command to delete a directory

A

rmdir

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

Command to delete a directory example

A

rmdir Photos

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

Command to delete a directory with folders in it

A

rmdir /s

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

Command to delete a directory with folders in it example

A

rmdir /s Photos

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

Button to move to the beginning of the text

A

home

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

Button to move to the end of the text

A

end

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

Button to move a full word to the left

A

ctrl + ←

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

Button to move a full word to the right

A

ctrl + →

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

Absolute path definition

A

Typing in the full name of the folder to go there directly

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

Absolute path example

A

C:\Program Files\Google

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

Command to go into another drive

A

drive name:

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

Command to go into another drive example

A

D:

32
Q

Command to create a tree of all the folders and files contained within

A

tree

33
Q

Command to change the color of the background/text

A

color

34
Q

Command to change the color of the background/text example

A

color 02

35
Q

Digits for black background and bright green text (matrix)

A

0A

36
Q

Command to change the color of the background/text back to the default

A

color

37
Q

Command to find all the color options

A

color /?

38
Q

Command to find the attributes of the files of the directory you’re in

A

attrib

39
Q

Command to add an attribute to a file

A

attrib +

40
Q

Command to add an attribute to a file example

A

attrib +h bacon.txt

41
Q

Command to enter text into a new file

A

echo >

42
Q

Command to enter text into a new file example

A

echo I like Monty Python > monty.txt

43
Q

Command to delete a file

A

del

44
Q

Command to delete a file example

A

del monty.txt

45
Q

Command to print the contents of a file

A

type

46
Q

Command to print the contents of a file example

A

type monty.txt

47
Q

Command to overwrite the contents of a file

A

echo >

48
Q

Command to add text to the end of a file

A

echo&raquo_space;

49
Q

Command to add text to the end of a file example

A

echo tunafish&raquo_space; monty.txt

50
Q

Command to print a directory as a text file

A

dir >

51
Q

Command to print a directory as a text file example

A

dir > directory.txt

52
Q

Command to copy a file into a folder

A

copy

53
Q

Command to copy a file into a folder example

A

copy bucky.txt TestFolder

54
Q

Command to copy the files in a folder into another folder

A

xcopy

55
Q

Command to copy the files in a folder into another folder example

A

xcopy Apples Bacon

56
Q

Command to copy the files and folders within a folder into another folder

A

xcopy /s

57
Q

Command to copy the files and folders within a folder into another folder example

A

xcopy Apples Bacon /s

58
Q

Command to move a file or folder into another folder

A

move

59
Q

Command to move a file or folder into another folder example

A

move sample.txt Bacon

60
Q

Command to rename a file or folder

A

rename

61
Q

Command to rename a file or folder example

A

rename bacon ham

62
Q

Color shortcut for 0

A

Black

63
Q

Color shortcut for 1

A

Blue

64
Q

Color shortcut for 2

A

Green

65
Q

Color shortcut for 3

A

Aqua

66
Q

Color shortcut for 4

A

Red

67
Q

Color shortcut for 5

A

Purple

68
Q

Color shortcut for 6

A

Yellow

69
Q

Color shortcut for 7

A

White

70
Q

Color shortcut for 8

A

Gray

71
Q

Color shortcut for 9

A

Light Blue

72
Q

Color shortcut for A

A

Light Green

73
Q

Color shortcut for B

A

Light Aqua

74
Q

Color shortcut for C

A

Light Red

75
Q

Color shortcut for D

A

Light Purple

76
Q

Color shortcut for E

A

Light Yellow

77
Q

Color shortcut for F

A

Bright White