Command Prompts Flashcards

(34 cards)

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)

24
Q

More (windows)

A

Page through a file

25
Forfiles (windows)
Run a command on lots of files
26
Dir-r (windows)
Find files
27
Select-string (windows)
Find things inside files
28
Help (windows)
Read a manual page
29
Help (windows)
Read a manual page
30
Helpctr (windows)
Find what man page is appropriate
31
Echo (windows)
Print some arguments
32
Set (windows)
Export/set a new environment variable
33
Exit (windows)
Exit the shell
34
Runas (windows)
Danger! Become super user root danger!