Apps Flashcards

(11 cards)

1
Q

For setting up the box as a web server

A

python3 http.server

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

For transferring files over SSH

A

SCP (works like cp)

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

For viewing user processes

A

ps

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

For viewing all processes

A

ps aux

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

For viewing processes in real time

A

top

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

Kill process allowing cleanup beforehand

A

kill -s SIGTERM

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

Kill process with no cleanup

A

kill -s SIGKILL

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

Stop/suspend using kill

A

kill -s SIGSTOP

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

For interacting with systemd

A

systemctl

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

For backgrounding a process. (2)

A

<command></command>

&
Ctl + Z

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

For foregrounding a process

A

fg

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