Linux Basics and System Architecture
- What is the difference between a Linux distribution and Unix?
- Explain the Linux file system hierarchy.
- What are the basic Linux commands you use daily, and how do they work?
- Describe the process of booting a Linux machine.
- What is the purpose of the kernel in Linux?
- How does the Linux kernel interact with hardware?
- What is a runlevel in Linux, and how do you manage it?
- Explain the difference between hard links and soft links in Linux.
- What are the key components of a Linux operating system?
- How does Linux handle process scheduling?
System Administration
- How would you add a new user in Linux and assign it a specific group?
- What are the different types of permissions in Linux?
- Explain the significance of sudo and how it differs from su.
- How do you check disk space usage in Linux?
- What are cron jobs, and how do you schedule tasks using cron?
- How do you monitor system performance on a Linux machine?
- What is syslog, and how do you configure it?
- How do you configure automatic backups in Linux?
- What is the role of the init system, and what is its relationship with systemd?
- How do you create and manage custom Linux users?
Networking and Security
- Explain the concept of network interfaces in Linux.
- How do you configure network interfaces in Linux?
- What is the purpose of iptables, and how do you configure basic firewall rules?
- Explain the concept of SELinux, and how does it enhance Linux security?
- How would you configure SSH key-based authentication in Linux?
- What is the difference between iptables and firewalld?
- How would you secure a Linux server from remote attacks?
- How do you manage user authentication and password policies in Linux?
- How do you secure a Linux web server?
- What are Linux file permissions, and how can you set them to ensure secure access?
Process Management and Performance Tuning
- How does the Linux kernel manage process states?
- How do you view and manage running processes in Linux?
- What are the differences between fork() and exec() system calls in Linux?
- How do you kill a process in Linux?
- What is the purpose of nice and renice commands in Linux?
- How would you identify and resolve high CPU utilization on a Linux system?
- How do you check memory usage in Linux and optimize it?
- What is swapping, and how does Linux handle memory management?
- How would you optimize disk I/O performance on a Linux server?
- What is the purpose of OOM Killer in Linux, and how does it work?
Shell Scripting and Automation
- How do you write a bash script to automate a task in Linux?
- What is the significance of shebang (#!) in Linux scripts?
- How do you handle command-line arguments in a shell script?
- What are variables in bash scripting, and how do you use them?
- How would you use loops in bash scripting?
- How do you handle conditional statements in bash scripts?
- How would you create a function in a bash script?
- What is the purpose of pipes and redirection in Linux?
- How do you debug a bash script in Linux?
- How do you schedule tasks using at and cron in Linux?
Package Management
- How do you install, update, and remove packages in Debian-based systems (using apt)?
- How do you install, update, and remove packages in Red Hat-based systems (using yum or dnf)?
- What is the role of package managers in Linux?
- How do you configure repository sources in Linux?
- What is the difference between a package and a source in Linux?
- How do you manage dependencies when installing software in Linux?
- What is dpkg in Debian-based systems, and how is it used?
- How do you rollback a package installation in Linux?
- How would you configure automatic updates in Linux?
- How do you manage third-party repositories in Linux?
Linux File System and Storage
- How do you create and manage file systems in Linux?
- What is the purpose of LVM (Logical Volume Manager) in Linux?
- How do you manage disk partitions in Linux?
- What is RAID, and how can you configure it in Linux?
- How do you mount a network drive (e.g., NFS, SMB) in Linux?
- What are extended attributes, and how are they used in Linux file systems?
- How would you recover a corrupted file system in Linux?
- What are the mount options available in Linux, and how do you use them?
- How do you check disk health and perform diagnostics in Linux?
- Explain how to perform disk encryption in Linux.
Advanced Linux Topics
- What is the role of containers in Linux (e.g., Docker)?
- How does containerization differ from virtualization in Linux?
- How do you create a custom Linux kernel?
- What is Linux namespaces, and how do they relate to containers?
- What is the Linux audit daemon, and how do you configure it?
- Explain the concept of cgroups in Linux and their use in resource management.
- How would you manage high availability (HA) clusters in Linux?
- How does Linux handle file system integrity, and how do you verify it?
- How do you configure Linux for multi-user environments?
- What are Linux containers (LXC), and how do you use them?
Linux Troubleshooting
- How would you troubleshoot disk space issues in Linux?
- How do you debug kernel panic in Linux?
- How do you resolve boot issues in Linux?
- What are common Linux performance bottlenecks, and how do you address them?
- How do you analyze system logs to troubleshoot issues in Linux?
- How do you recover from accidental file deletion in Linux?
- What is the significance of dmesg in Linux?
- How do you troubleshoot network connectivity issues in Linux?
- How do you resolve issues related to slow application performance in Linux?
- How do you resolve issues with user permissions in Linux?
Linux Security
- How do you configure firewalls in Linux using iptables?
- How do you harden a Linux server for production use?
- How do you set up SELinux policies on Linux?
- How do you manage user privileges in Linux?
- What is sudoers file, and how do you configure it?
- How would you protect a Linux server from brute-force attacks?
- How do you configure Linux for secure remote access using SSH?
- How do you audit user access and changes in Linux?
- How do you configure firewalld in Linux for effective network security?
- How do you implement mandatory access control (MAC) in Linux?
Top comments (0)