Mac Terminal Commands 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

Cd johnny

A

Change directory to johnny

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

Mkdir johnny

A

Make directory johnny

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

Cd ~

A

Change directory to home

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

hostname

A

My computer’s network name

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

Ls

A

List directory

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

rmdir

A

Remove directory

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

pushd

A

Push directory

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

popd

A

Pop directory

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

cp

A

Copy file or directory

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

mv

A

Move file or directory

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

Less

A

Page through a file

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

cat

A

Print the whole file

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

xargs

A

Execute arguments

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

find

A

Find files

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

grep

A

Find things inside files

17
Q

man

A

Read a manual

18
Q

apropos

A

Find what man page is appropriate

19
Q

env

A

Look at your environment

20
Q

echo

A

Print some arguments

21
Q

Export

A

Export /set a new environment argument

22
Q

exit

A

Exit the shell

23
Q

robocopy

A

Robust copy

24
Q

more

A

Page through a file

25
Q

type

A

Print the whole file

26
Q

forfiles

A

Run a command on lots of files.

27
Q

dir -r

A

Find files

28
Q

Select-string

A

Find things inside files

29
Q

help

A

Read a manual page

30
Q

runas

A

DANGER become a super user root DANGER. :-))?