Mac OSX / Linux Flashcards

1
Q

hostname

A

my computer’s network name

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

pushd

A

push directory

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

mv

A

Move a file or a 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

export

A

export/set a new environment variable

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

sudo

A

DANGER! become super user root DANGER!

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

find

A

find files

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

exit

A

exit the shell

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

ls

A

list directory

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

cat

A

Print the whole file

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

apropos

A

find what man page is appropriate

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

pwd

A

print working directory

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

mkdir

A

make directory

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

man

A

read a manual page

17
Q

less

A

page through a file

18
Q

xargs

A

execute arguments

19
Q

cp

A

copy a file or directory

20
Q

env

A

look at your environment

21
Q

echo

A

print some arguments

22
Q

popd

A

Pop directory