InterviewStack.io LogoInterviewStack.io

Linux and Unix Fundamentals Questions

Practical command line and system administration knowledge for Linux and Unix style operating systems. Candidates should understand the file system hierarchy and common directories, file and directory permissions and ownership, user and group management, package management and software installation, service and startup management, system logging and basic log inspection, process management and signals including job control and background processes, and secure remote access using secure shell. Candidates should be proficient with common command line utilities for searching and text processing, input and output redirection and piping, and basic shell scripting constructs such as variables, conditionals, loops, and simple functions to automate routine tasks. Interview assessments may include hands on tasks and explanations such as navigating the file system, creating and managing files and directories, changing permissions and ownership, monitoring and terminating processes, inspecting logs to diagnose issues, managing services and packages, writing short scripts to automate workflows, and describing troubleshooting approaches for common system problems.

HardTechnical
80 practiced
An XFS filesystem shows metadata corruption. Describe the safe steps to unmount, run xfs_repair, take a block-level backup before repair, and how to restore from backups or LVM snapshots if repair fails. Mention online vs offline considerations and hardware checks you would run first.
MediumSystem Design
83 practiced
Design a strategy to manage users and groups across hundreds of Linux servers. Compare local /etc-based management to centralized solutions such as LDAP, FreeIPA, or AD via sssd. Consider authentication, sudoers distribution, home directory provisioning, and offline access.
HardTechnical
52 practiced
A Linux host experienced a kernel oops and then intermittent panics. Describe steps to collect crash data and configure kdump to capture vmcore, how to analyze vmcore with the crash utility or gdb to extract backtraces and modules, and criteria for filing a kernel bug report with a minimal reproducible test case.
EasyTechnical
50 practiced
Explain job control in a POSIX shell. Show the commands to run a process in the background, list background jobs, stop and resume jobs, bring a job to the foreground, and detach a job so it continues after you log out. Give a short example workflow.
EasyTechnical
45 practiced
Explain Unix file permissions for files and directories. Describe the meaning of rwx for user, group, and others, explain numeric octal notation such as 0755 and 0640, and show how chmod u+x differs from chmod 755 with an example scenario for each.

Unlock Full Question Bank

Get access to hundreds of Linux and Unix Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.