Command Line Commands - Reverse Flashcards

23
Q

my computer’s network name

A

hostname

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

Print working directory

A

pwd

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

make directory

A

mkdir

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

change directory

A

cd

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

takes output from command on the left, and runs command on the right on it

A

(pipe)

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

matches anything in a wildcard like *.txt

A

*

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

Takes command of the file on the left, and writes it to the file on the right.

A

>

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

Takes ouput from command on the left, and appends it to the file on the right.

A

>>

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

list directory

A

ls

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

remove directory

A

rmdir

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

push directory

A

pushd

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

pop directory

A

popd

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

copy a file or directory

A

cp

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

robust copy

A

robocopy

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

move a file or directory

A

mv

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

page through a file

A

more

39
Q

print the whole file

A

type

40
Q

run a command on lots of files

A

for files

41
Q

find files

A

dir -r

42
Q

finds things inside files

A

select -string

43
Q

read a manual page

A

help

44
Q

find what man page is appropriate

A

helpctr

45
Q

print some arguments

A

echo

46
Q

export/set a new environment variable

A

set

47
Q

exit the shell

A

exit

48
Q

DANGER! become superuser root DANGER!

A

runas

49
Q

change permission modifiers

A

attrib

50
Q

change ownership

A

iCACLS