Exams Study Flashcards
What is the purpose of the /etc directory in Linux?
It contains system configuration files for the operating system and installed applications.
What command is used to create a new user in Linux?
sudo useradd username
What does the chmod 755 command do?
It sets permissions:
Owner: Read, Write, Execute
Group & Others: Read, Execute
What is the use of the sudo command?
It allows a user to execute commands as the superuser or another user with elevated privileges.
What is the difference between SSH and Telnet?
SSH: Secure and encrypted remote connection.
Telnet: Unencrypted remote connection.
List a command to install software on a Debian-based Linux system.
sudo apt install package_name
What is the kernel in Linux?
The kernel is the core of the operating system, managing hardware resources and system processes.
What does PAM stands for in Linux?
Pluggable Authentication Modules.
What command lists all files, including hidden ones, in a directory?
ls -a
What is the purpose of the /boot directory?
It contains bootloader files and the Linux kernel needed for system startup.
What is the difference between root and user accounts?
Root Account: Full system control with all privileges.
User Account: Limited privileges for regular tasks.
Which file system is most commonly used in Linux distributions?
ext4
What is IPtables?
A command-line tool in Linux to set up, maintain, and inspect firewall rules.
What is a firewall?
A network security system that monitors and controls incoming and outgoing traffic based on predetermined security rules.
What is the purpose of the /dev directory in Linux?
Contains device files representing hardware like disks, terminals, and printers.