Advanced Features Flashcards
1
Q
What is the package to have access to the standart c library?
A
libc6-dev
2
Q
What is the package for apache?
A
apache2
3
Q
What is the command to restart the apache server?
A
sudo systemctl restart apache2
4
Q
What is the command to stop the apache server?
A
sudo systemctl stop apache2
5
Q
What is the command to start the apache server?
A
sudo systemctl start apache2
6
Q
Where is located the apache server by default?
A
/var/www/html/
7
Q
What is the first line in a script file?
A
”#!/bin/sh”
8
Q
What is the extention of a shell script file?
A
.sh