Stage 1: Curious Explorer
You will be introduced to Linux fundamentals, its architecture, distributions, and why it’s essential for engineering interviews. Build curiosity and confidence with clear concepts, hands‑on practice, and interview‑ready answers.
Hackbook Overview
1. Big Picture: Why Linux Matters
- Powers servers, cloud platforms, DevOps pipelines, and embedded systems.
- Interviewers test Linux basics to gauge problem‑solving and system awareness.
- Knowing Linux shows adaptability and readiness for engineering roles.
2. Linux Architecture
- Kernel: Manages hardware, memory, and processes.
- Shell: Command interpreter (Bash, Zsh).
- File System Hierarchy: Organized directories (
/etc,/var,/home,/bin). - Utilities: Tools like
grep,awk,sedthat make Linux powerful.
3. Distributions (Distros)
- Ubuntu/Debian: Developer‑friendly, common in interviews.
- CentOS/RHEL: Enterprise‑grade, stable, used in production servers.
- Fedora/Arch: Cutting‑edge or customizable, for advanced users.
Hands‑On Practice
- Run
uname -a→ Identify kernel version. - Run
cat /etc/os-release→ Identify distribution. - Explore directories with
ls /→ Observe hierarchy. - Compare Ubuntu vs CentOS in a VM or WSL.
Interview Question Bank
Conceptual
- Q1. What is Linux and how is it different from UNIX?
A1. Linux is an open‑source OS inspired by UNIX. Unlike UNIX, which is proprietary, Linux is community‑driven, free, and widely available across distributions. - Q2. Why is Linux preferred for servers over Windows?
A2. Linux offers stability, security, and scalability. It consumes fewer resources, supports powerful networking tools, and dominates cloud/server environments. - Q3. What is the role of the Linux kernel?
A3. The kernel is the core of Linux. It manages hardware, memory, processes, and system calls, acting as the bridge between hardware and applications. - Q4. What is the difference between kernel and shell?
A4. The kernel manages system resources, while the shell is a command interpreter that lets users interact with the kernel. - Q5. Name three popular Linux distributions and their use cases.
A5. Ubuntu (developer‑friendly, common in dev/test), CentOS/RHEL (enterprise servers), Debian (stable, infrastructure and embedded systems).
Practical
- Q6. How do you check which Linux distribution a system is running?
A6. Runcat /etc/os-releaseorlsb_release -ato view distribution details. - Q7. How do you find the kernel version of a Linux system?
A7. Rununame -roruname -ato display kernel version information. - Q8. What command would you use to explore the root directory structure?
A8. Runls /to list directories like/etc,/var,/bin,/home. - Q9. How do you check system uptime and basic info?
A9. Runuptimeortopto see how long the system has been running and load averages.
Scenario‑Based
- Q10. You log into a Linux server and want to confirm it’s running Ubuntu. What do you do?
A10. Runcat /etc/os-releaseand check theNAMEfield for “Ubuntu.” - Q11. A config file in
/etcis missing. What impact could that have?
A11. Missing config files can prevent services from starting or cause misconfigured system behavior. For example, missing/etc/ssh/sshd_configcould stop SSH service. - Q12. If a system is running slow, what’s the first command you’d use to investigate?
A12. Runtoporhtopto check CPU/memory usage and identify resource‑heavy processes.
Behavioral Based
- Q13. Tell me about your first experience using Linux.
A13. Example: “I started with Ubuntu, exploring basic commands likelsandgrep. That hands‑on practice helped me understand how Linux organizes systems.” - Q14. How do you approach learning new Linux tools?
A14. “I experiment in sandbox environments, read official documentation, and practice real scenarios to build confidence.”
Cheatsheet (Quick Notes)
- Linux = Kernel + Shell + File System + Utilities
- Popular Distros: Ubuntu (dev), CentOS/RHEL (enterprise), Debian (stable).
- Key Directories:
/etc(configs),/var(logs),/home(users),/bin(binaries). - Commands to Know:
uname -a,cat /etc/os-release,ls /,uptime.

Updated on Dec 21, 2025