Command Line Basics 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

my 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 directory

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 a 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

less

A

page through a file

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

cat

A

print the whole file

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

xargs

A

execute arguments

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

find

A

find files

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

grep

A

find things inside files

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

man

A

read a manual page

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

apropos

A

find what man page is approxiamate

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

env

A

look at your environment

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

echo

A

print some arguments

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

export

A

export/set a new environment

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

exit

A

exit the shell

22
Q

sudo

A

DANGER! become super user root DANGER!

23
Q

chmod

A

change permission modifiers

24
Q

chown

A

change ownership

25
Q

Reverse!

print working directory

26
Q

Reverse!

my computer’s network name

27
Q

Reverse!

make directory

28
Q

Reverse!

change directory

29
Q

Reverse!

list directory

30
Q

Reverse!

remove directory

31
Q

Reverse!

push directory

32
Q

Reverse!

pop directory

33
Q

Reverse!

copy a file or directory

34
Q

Reverse!

move a file or directory

35
Q

Reverse!

page through a file

36
Q

Reverse!

print the whole file

37
Q

Reverse!

execute arguments

38
Q

Reverse!

find files

39
Q

Reverse!

find things inside files

40
Q

Reverse!

read a manual page

41
Q

Reverse!

find what man page is approxiamate

42
Q

Reverse!

look at your environment

43
Q

Reverse!

print some arguments

44
Q

Reverse!

export/set a new environment

45
Q

Reverse!

exit the shell

46
Q

Reverse!

DANGER! become super user root DANGER!

47
Q

Reverse!

change permission modifiers

48
Q

Reverse!

change ownership

49
Q

Touch

A

Create new empty file

50
Q

Reverse!

Create new empty file