Command Line Commands Flashcards

1
Q

hostname

A

My computer’s network name

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

mkdir

A

Make directory

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

cd

A

Change directory

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

ls

A

List directory

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

rmdir

A

Remove directory

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

pushd

A

Push directory

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

popd

A

Pop directory

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

cp

A

Copy a file or directory

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

pwd

A

Print working directory

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

robocopy

A

Robust copy

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

mv

A

Move file or directory

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

more

A

Page through a file

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

type

A

Print the whole file

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

forfiles

A

Run a command on lots of files

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

dir -r

A

Find files

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

select-string

A

Find things inside files

17
Q

help

A

Read a manual page

18
Q

helpctr

A

Find what manual page is appropriate

19
Q

echo

A

Print some arguments

20
Q

set

A

Export/set a new environment variable

21
Q

exit

A

Exit the shell

22
Q

runas

A

Danger! Become super user root Danger!

23
Q

rm -r

A

Removes directories