Powershell - Commands Flashcards

0
Q

hostname

A

my computer’s network name

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

pwd

A

print working directory

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

robocopy

A

robust copy

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

mv

A

move a file or directory

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

more

A

page through a file

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

type

A

print the whole file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
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
14
Q

dir -r

A

find files

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

select-string

A

find things inside files

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

help

A

read a manual page

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

helpctr

A

Find what man page is appropriate

18
Q

echo

A

print some arguments

19
Q

set

A

export/set a new environment variable

20
Q

exit

A

exit the shell

21
Q

runas

A

DANGER! become super user root DANGER!

22
Q

print working directory

A

pwd

23
Q

my computer’s network name

A

hostname

24
Q

make directory

A

mkdir

25
Q

change directory

A

cd

26
Q

list directory

A

ls

27
Q

remove directory

A

rmdir

28
Q

push directory

A

pushd

29
Q

pop directory

A

popd

30
Q

copy a file or directory

A

cp

31
Q

robust copy

A

robocopy

32
Q

move a file or directory

A

mv

33
Q

page through a file

A

more

34
Q

print the whole file

A

type

35
Q

run a command on lots of files

A

forfiles

36
Q

find files

A

dir -r

37
Q

find things inside files

A

select-string

38
Q

read a manual page

A

help

39
Q

Find what man page is appropriate

A

helpctr

40
Q

print some arguments

A

echo

41
Q

export/set a new environment variable

A

set

42
Q

exit the shell

A

exit

43
Q

DANGER! become super user root DANGER!

A

runas