Big Exam Mashle - Logique
Big Exam Mashle - Logique
**Package Management**
**Network Configuration**
**Hostname Management**
**File Permissions**
**Processes Management**
29. Which command is used to display information about mounted file systems?
* df -h
* mount
* fdisk -l
* lsblk
30. Which command is used to mount a file system?
* df -h
* mount /dev/sdX1 /mnt/point
* fdisk -l
* lsblk
**Permissions and Security**
**Services Management**
The text in the image is a snippet of Linux configuration commands. Based on the
text, here are 30 questions you can ask:
**Basic Configuration**
**Network Configuration**
9. What is the command to set the IP address, netmask and enable a network
interface?
10. What is the configuration file used to manage network interface ens33?
11. How to list all network interfaces including inactive ones?
**Advanced**
**Multiple Choice**
1. Which of the following commands is used to change the hostname of the machine?
a) hostnamectl set-hostname
b) ifconfig
c) rpm -ivh
d) vi /etc/shadow
3. Which of the following commands is used to configure a network card using the
command line?
a) nmtui
b) ifconfig ens33 192.168.1.1 netmask 255.255.255.0 up
c) systemctl start network
d) nano /etc/network-interfaces