CMD commands Flashcards

1
Q

Command to list all sub-directories and files of a given directory

A

dir

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

Change directory

A

cd

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

Change directory to parent directory

A

cd..

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

Change directory with absolute path

A

cd c:\windows\system32

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

View all hidden files in a directory

A

dir /A H

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

View files in alphabetical order

A

dir /O N

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

How do you view all flags for a command

A

[command] /?

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

Copy a file

A

copy

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

Move a file

A

move

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

Create a new directory

A

mkdir

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

Remove directory

A

rmdir

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