Command Prompts 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

hostname

A

computer’s network name

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

mkdir

A

Make directory

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

Cd

A

Change directory

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

Ls

A

List directory

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

Rmdir

A

Remove dir

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

Pushd

A

Push dire

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

Mv

A

Move a file

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

Less

A

Page through a file

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

Cat (mac) or type (windows)

A

Print the whole file

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

Xargs

A

Execute arguments

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

Find

A

Find files

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

Grep

A

Find things inside files

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

Man

A

Read a manual page

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

Apropos

A

Find what man page is appropriate

17
Q

Env

A

Look at your environment

18
Q

Echo

A

Print some argument

19
Q

Export

A

Export/set a new environment variable

20
Q

Exit

A

Exit the shell

21
Q

Sudo

A

Danger! Become super root danger!

22
Q

Popd (windows)

A

Pop directory

23
Q

Robocopy (windows)

A

Robust copy

24
Q

More (windows)

A

Page through a file

25
Q

Forfiles (windows)

A

Run a command on lots of files

26
Q

Dir-r (windows)

A

Find files

27
Q

Select-string (windows)

A

Find things inside files

28
Q

Help (windows)

A

Read a manual page

29
Q

Help (windows)

A

Read a manual page

30
Q

Helpctr (windows)

A

Find what man page is appropriate

31
Q

Echo (windows)

A

Print some arguments

32
Q

Set (windows)

A

Export/set a new environment variable

33
Q

Exit (windows)

A

Exit the shell

34
Q

Runas (windows)

A

Danger! Become super user root danger!