Appendix - The Command Line Flashcards

1
Q

pwd

A

Print working directory

Returns current position in file structure

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

hostname

A

My computers network name

This is the name is appears to others when connected to a network

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

mkdir

A

make directory

Creates a new directory (this is a folder in windows graphical world). More correctly a directory as a file system concept in terms of command line

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

cd

A

Change directory

Forward slash in front returns to root directory

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

ls

A

List directory

Lists all files and folders in directory

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

rmdir

A

Remove directory

Deletes directory. Needs name?

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

pushd

A

Push directory

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

popd

A

pop directory

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

cp

A

Copy file or directory

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 whole file

Returns contents of entire file

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

robocopy

A

Robust copy

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

forfiles

A

Run command on multiple 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 out what manual page is appropriate

19
Q

echo

A

Print some arguments

20
Q

set

A

export or set an environmental variable

21
Q

exit

A

Exit the shell