Advanced Features Flashcards

1
Q

What is the package to have access to the standart c library?

A

libc6-dev

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

What is the package for apache?

A

apache2

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

What is the command to restart the apache server?

A

sudo systemctl restart apache2

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

What is the command to stop the apache server?

A

sudo systemctl stop apache2

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

What is the command to start the apache server?

A

sudo systemctl start apache2

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

Where is located the apache server by default?

A

/var/www/html/

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

What is the first line in a script file?

A

”#!/bin/sh”

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

What is the extention of a shell script file?

A

.sh

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