Appendix A Flashcards

1
Q

pwd

A

print working directory

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

if you get lost

A

pwd to figure out where you are then cd ~

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

make a directory

A

mkdir

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

change directory one forward

A

cd _

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

go back one directory

A

cd ..

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

go back two or more directories

A

cd ../../

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

list directory

A

ls

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

remove directory

A

rmdir

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

make path

A

mkdir -path name/of/path

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

change to specific directory; push directory

A

pushd

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

go back to the directory you were in before using pushd, or pop directory

A

popd

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

copy a file or directory

A

cp

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

move a file or directory

A

mv

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

page through a file

A

more

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

my computer’s network name

A

hostname

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

robust copy

A

robocopy

17
Q

type

A

print the whole file

18
Q

run a command on lots of files

A

forfiles

19
Q

find files

A

dir -r

20
Q

select-string

A

find things inside files

21
Q

read a manual page

A

help

22
Q

find what man page is appropriate

A

helpctr

23
Q

print some arguments

A

echo

24
Q

export/set a new environment variable

A

set

25
Q

exit the shell

A

exit

26
Q

DANGER! become super user root DANGER!

A

runas

27
Q

print the whole file

A

type

28
Q

find things inside files

A

select-string

29
Q

recurseive

A

-r

30
Q

print entire file in editor

A

cat “file name”

31
Q

shows all attributes of a file

A

attrib

32
Q

Displays or modifies discretionary access control lists (DACLs) on specified files, and applies stored DACLs to files in specified directories.

A

icacls