Basic Commands Reversed Flashcards

1
Q

Print working directory

A

pwd

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

My computer’s network name

A

hostname

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

Make directory

A

mkdir

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

Change directory

A

cd

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

List directory

A

ls

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

Remove directory

A

rmdir

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

Push directory

A

pushd

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

Pop directory

A

popd

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

Copy a file or directory

A

cp

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

Move a file or directory

A

mv

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

Page through a file

A

less

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

Print the whole file

A

cat

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

Execute arguments

A

xargs

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

Find files

A

find

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

Find things inside files

A

grep

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

Read a manual page

A

man

17
Q

Find which manual page is relevant

A

apropos

18
Q

Look at your environment

A

env

19
Q

Print some arguments

A

echo

20
Q

Export/set a new environment variable

A

export

21
Q

Exit the shell

A

exit

22
Q

DANGER! Become super user root DANGER!

A

sudo

23
Q

Change permission modifiers

A

chmod

24
Q

Change ownership

A

chown