04 November 2020

#Linux

Key Concepts


S.NoTopicSub Topic
1 Linux Fundamentals Linux Architecture, Kernel, Shell, Distribution, GNU Utilities, Open Source Concepts, Linux Boot Process
2 Linux File System File System Hierarchy (FHS), /etc , /var , /usr , /opt , /tmp , /home , /proc , /sys , /dev
3 Linux Installation & Configuration Linux Installation, Partitioning, Mount Points, Swap Configuration, Hostname, Timezone, Locale, Environment Configuration
4 Linux Commands – Basic pwd, ls, cd, mkdir, rmdir, touch, cp, mv, rm, cat, echo, clear, history, which, whereis
5 File & Directory Management find, locate, tree, stat, file, basename, dirname, du, df, inode, Hard Links, Symbolic Links
6 File Permissions & Ownership chmod, chown, chgrp, umask, rwx Permissions, Numeric Permissions, SUID, SGID, Sticky Bit, ACL
7 Text Processing Commands grep, egrep, sed, awk, cut, sort, uniq, tr, paste, wc, head, tail, tee, xargs
8 File Search & Pattern Matching find, locate, grep -r, Regular Expressions, Wildcards, Glob Patterns, Search by Name, Size, Date and Permissions
9 File Compression & Archiving tar, gzip, gunzip, bzip2, xz, zip, unzip, Compression Levels, Archive Management
10 Input & Output Redirection stdin, stdout, stderr, Pipes, Redirection, Append, Here Documents, /dev/null , Command Chaining
11 Process Management ps, top, htop, pstree, pgrep, pkill, kill, killall, nice, renice, Process States, Signals, Background and Foreground Jobs
12 Job Scheduling cron, crontab, at, batch, systemd Timers, Scheduled Jobs, Job Monitoring
13 System Monitoring uptime, free, vmstat, iostat, sar, mpstat, pidstat, dmesg, journalctl, top, Resource Utilization
14 Memory Management RAM, Swap, Virtual Memory, Page Cache, Buffer Cache, OOM Killer, Memory Leak Analysis, Memory Pressure
15 Disk & Storage Management lsblk, blkid, fdisk, parted, mkfs, mount, umount, fstab, LVM, Disk Usage, Disk I/O Monitoring
16 File Systems ext4, XFS, Btrfs, Inodes, Journaling, File System Repair, fsck, Resize File Systems, Mount Options
17 User & Group Management useradd, usermod, userdel, passwd, groupadd, groupmod, groupdel, id, groups, su, sudo, /etc/passwd, /etc/shadow
18 Package Management apt, apt-get, dpkg, yum, dnf, rpm, Repository Management, Package Installation, Upgrade, Removal, Dependency Resolution
19 Linux Boot Process BIOS, UEFI, GRUB2, Kernel Initialization, initramfs, systemd, Runlevels, Boot Targets, Boot Troubleshooting
20 Service Management systemctl, service, systemd, Unit Files, Service Dependencies, Enable, Disable, Restart, Reload, Service Logs
21 Linux Networking Fundamentals IP Address, Subnet, Gateway, DNS, DHCP, TCP, UDP, Ports, Routing, ARP, Network Interfaces
22 Network Commands ip, ifconfig, ping, traceroute, tracepath, ss, netstat, nslookup, dig, host, curl, wget, nc, telnet
23 Network Configuration NetworkManager, nmcli, nmtui, Static IP, DHCP, DNS Configuration, Routing Table, Default Gateway, Interface Configuration
24 Network Troubleshooting Connection Refused, Connection Timeout, DNS Resolution, Port Connectivity, Packet Loss, Latency, tcpdump, Wireshark, MTU Issues
25 SSH & Remote Access ssh, ssh-keygen, ssh-copy-id, scp, sftp, rsync, SSH Config, Key-Based Authentication, SSH Tunneling, Port Forwarding
26 Shell Scripting ¢ Fundamentals Bash, Shell Variables, Environment Variables, echo, read, Command Substitution, Exit Status, Positional Parameters
27 Shell Scripting ¢ Advanced if, case, for, while, until, Functions, Arrays, String Manipulation, Arithmetic Operations, Parameter Expansion
28 Shell Scripting ¢ Production Error Handling, set -e, set -u, set -o pipefail, trap, Logging, Debugging, Input Validation, Exit Codes, Idempotency
29 Environment & Configuration PATH, export, source, .bashrc, .bash_profile, /etc/profile, Environment Variables, Shell Initialization
30 Linux Logs & Troubleshooting /var/log, syslog, auth.log, messages, dmesg, journalctl, Log Rotation, logrotate, Application Logs, Error Analysis
31 Linux Security SSH Hardening, Firewall, SELinux, AppArmor, File Permissions, sudo Policies, Security Patching, Audit Logs, CIS Benchmark
32 Firewall Management iptables, nftables, firewalld, ufw, Firewall Rules, Inbound and Outbound Rules, Port Management, Rule Persistence
33 SELinux & AppArmor Security Contexts, Modes, Policies, Audit Logs, semanage, restorecon, setenforce, Troubleshooting Access Denied
34 Performance Tuning CPU Profiling, Memory Analysis, Disk I/O, Network Performance, Load Average, Bottleneck Identification, Resource Optimization
35 Kernel Management Kernel Modules, lsmod, modprobe, insmod, rmmod, sysctl, Kernel Parameters, dmesg, Kernel Updates
36 Linux Automation Bash Automation, Cron Jobs, Ansible Basics, Configuration Management, Remote Execution, Infrastructure Automation
37 Backup & Recovery tar Backup, rsync, Incremental Backup, Full Backup, Snapshot, Restore, Recovery Planning, Disaster Recovery
38 Linux Containers Docker, Container Runtime, Namespaces, Cgroups, Container Networking, Container Storage, Container Troubleshooting
39 Linux with DevOps Git, Jenkins, Maven, Gradle, Docker, Kubernetes, OpenShift, CI/CD, Build Automation, Deployment Scripts
40 Linux with Java Applications Java Process Management, JVM Arguments, Heap Dump, Thread Dump, GC Logs, JAR Execution, Environment Variables, Application Deployment
41 Production Support & L2/L3 Incident Management, Root Cause Analysis, Log Analysis, Service Recovery, Disk Full Issues, High CPU, Memory Issues, Process Hung, Application Down
42 Advanced Troubleshooting strace, ltrace, lsof, fuser, gdb, perf, tcpdump, Core Dumps, File Descriptor Leaks, System Call Analysis
43 High Availability & Reliability Keepalived, Pacemaker, Corosync, Failover, Load Balancing, Health Checks, Service Recovery, Cluster Monitoring
44 Linux Administration Best Practices Patch Management, User Access Reviews, Log Monitoring, Disk Monitoring, Resource Alerts, Security Auditing, Documentation
45 Expert Interview & Scenario-Based Topics Production Outage, Server Unreachable, High Load Average, Disk Space Exhaustion, Zombie Process, Defunct Process, SSH Failure, DNS Failure, Memory Leak, Service Startup Failure

Interview Question



What is Linux, and how is it different from Unix?
Explain the Linux architecture and its major components.
What is the difference between Kernel, Shell, and Terminal?
Explain the Linux boot process from BIOS/UEFI to login prompt.
What is GRUB, and how does it work?
What is the difference between BIOS and UEFI?
What are the different Linux distributions?
What is the Linux File System Hierarchy?
What is the purpose of /etc, /var, /usr, /opt, and /tmp directories?
What is the difference between absolute and relative paths?
What is the difference between cp, mv, and rsync commands?
How do you find files by name, size, and modification date?
What is the difference between find and locate commands?
How do you identify file types in Linux?
What is an inode in Linux?
What is the difference between hard links and symbolic links?
How do you check file and directory sizes?
What is the difference between df and du commands?
How do you search for a specific string across multiple files?
What is the difference between grep, egrep, and fgrep?
Explain the usage of awk and sed commands.
How do you extract specific columns from a file using Linux commands?
How do you sort file contents and remove duplicate records?
What is the difference between head, tail, and less commands?
How do you monitor a continuously updating log file?
Explain Linux file permissions and ownership.
What is the difference between chmod 755 and chmod 777?
Explain symbolic and numeric permission modes.
What are SUID, SGID, and Sticky Bit?
What is umask, and how does it work?
How do you change file ownership and group ownership?
What are Access Control Lists (ACLs) in Linux?
How do you create and manage users in Linux?
What is the difference between useradd and adduser?
What is the difference between su and sudo?
Where are Linux user and group details stored?
How do you lock and unlock a user account?
How do you identify currently logged-in users?
What is the difference between ps, top, and htop?
How do you identify and terminate a process in Linux?
What are foreground and background processes?
What is a zombie process, and how do you troubleshoot it?
What is an orphan process?
What is the difference between kill, killall, and pkill?
What are Linux process states?
What is the difference between nice and renice?
How do you identify the process consuming maximum CPU?
How do you identify memory-consuming processes?
What is load average, and how do you interpret it?
What is the OOM Killer, and when does Linux invoke it?
How do you check RAM and swap memory utilization?
What is virtual memory in Linux?
What is the difference between cache and buffer memory?
How do you check disk space utilization?
What is LVM, and what are its advantages?
How do you create and mount a file system?
What is the purpose of /etc/fstab?
What is the difference between ext4 and XFS?
How do you troubleshoot a disk-full issue?
How do you identify which process is using a particular file?
What is the difference between mount and umount?
What is swap space, and how do you configure it?
How do you check open file descriptors in Linux?
What is the difference between apt, yum, and dnf?
How do you install, update, and remove packages in Linux?
What is systemd, and how does it manage services?
What is the difference between systemctl and service commands?
How do you start, stop, restart, and enable a service?
How do you troubleshoot a service that fails to start?
What is the difference between systemctl enable and start?
How do you check service logs using journalctl?
What is cron, and how do you schedule recurring jobs?
What is the difference between cron and at?
How do you troubleshoot a cron job that is not executing?
Explain Linux networking fundamentals, including IP, subnet, gateway, and DNS.
How do you check IP address and network interface configuration?
What is the difference between TCP and UDP?
How do you check listening ports in Linux?
What is the difference between netstat and ss?
How do you troubleshoot DNS resolution issues?
What is the difference between ping, traceroute, and tracepath?
How do you check whether a remote server port is reachable?
What is the purpose of curl and wget commands?
How do you troubleshoot connection refused and connection timed out errors?
What is SSH, and how does key-based authentication work?
What is the difference between scp, sftp, and rsync?
How do you configure SSH passwordless authentication?
What is iptables, and how do you configure firewall rules?
What is SELinux, and what are its operating modes?
What is the difference between SELinux and AppArmor?
How do you identify and troubleshoot Linux authentication failures?
How do you check system logs and application logs?
What is logrotate, and how does it work?
How do you write a Bash shell script with conditional statements and loops?
What are positional parameters in shell scripting?
What is the difference between $?, $!, $$, $0, and $1?
How do you handle errors and exit codes in shell scripts?
What is the purpose of set -e, set -u, and set -o pipefail?
How do you debug a shell script?
How do you automate file backup and cleanup using shell scripting?
How do you troubleshoot a Linux server experiencing high CPU utilization?
How do you troubleshoot a Linux server experiencing high memory utilization?
How do you troubleshoot a Linux server that suddenly becomes unreachable?
How do you troubleshoot a Java application running slowly on Linux?
How do you capture Java thread dumps and heap dumps in Linux?
How do you identify and troubleshoot a Java process consuming excessive memory?
How do you troubleshoot an application that cannot connect to a database server?
How do you analyze system calls using strace and identify network or file-related issues in production?