All questions
Showing of 52What is the Linux file system hierarchy and what are the main directories?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
The Linux file system follows the Filesystem Hierarchy Standard (FHS). Key directories include:
/- Root directory, the top-level directory/bin- Essential user binaries (commands)/boot- Boot loader files and kernel/dev- Device files/etc- System configuration files/home- User home directories/lib- Essential shared libraries/media- Mount points for removable media/mnt- Temporary mount points/opt- Optional software packages/proc- Virtual filesystem with process information/root- Root user's home directory/run- Runtime data/sbin- System administration binaries/tmp- Temporary files/usr- User programs and data/var- Variable data (logs, databases, etc.)
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
Explain Linux file permissions and how to change them.
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Linux uses a three-tier permission system:
- Owner (u): The file owner
- Group (g): The file's group
- Others (o): All other users
Each tier has three permissions: - Read (r): Permission to read the file (4)
- Write (w): Permission to modify the file (2)
- Execute (x): Permission to execute the file (1)
Example:rwxr-xr--means owner has read/write/execute, group has read/execute, others have read only.
# Change permissions using chmod
chmod 755 file.txt # rwxr-xr-x
chmod u+x script.sh # Add execute for owner
chmod g-w file.txt # Remove write for group
chmod o=r file.txt # Set others to read only
# Change ownership
chown user:group file.txt
chgrp newgroup file.txt
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How do you find files and directories in Linux?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Multiple commands are available for finding files:
find command (most powerful):
# Find by name
find /path -name "filename"
find . -name "*.txt"
# Find by type
find /home -type f # Files only
find /home -type d # Directories only
# Find by size
find /var -size +100M # Files larger than 100MB
find . -size -1k # Files smaller than 1KB
# Find by permissions
find . -perm 755
find . -perm -u+x # Files executable by owner
# Find and execute action
find /tmp -name "*.tmp" -delete
find . -name "*.log" -exec rm {} \;
locate command (faster, uses database):
locate filename
updatedb # Update locate database
which/whereis commands:
which python # Find executable in PATH
whereis python # Find binary, source, manual
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How do you view and manage running processes?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Several commands help manage processes:
# View processes
ps aux # All processes with details
ps -ef # Full format listing
ps -u username # Processes for specific user
pstree # Process tree view
# Real-time process monitoring
top # Interactive process viewer
htop # Enhanced version of top
atop # Advanced system monitor
# Process information
jobs # Current shell jobs
pgrep process_name # Find process IDs by name
pidof process_name # Get PID of running process
Process states:
- R: Running
- S: Sleeping (waiting)
- D: Uninterruptible sleep
- Z: Zombie
- T: Stopped
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How do you kill processes in Linux?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
# Kill by PID
kill PID # Send TERM signal (15)
kill -9 PID # Send KILL signal (forceful)
kill -15 PID # Send TERM signal (graceful)
# Kill by name
killall process_name # Kill all processes with name
pkill pattern # Kill processes matching pattern
# Common signals
kill -l # List all signals
kill -HUP PID # Reload configuration (1)
kill -INT PID # Interrupt (2)
kill -QUIT PID # Quit (3)
kill -KILL PID # Force kill (9)
kill -TERM PID # Terminate (15)
kill -STOP PID # Stop process (19)
kill -CONT PID # Continue process (18)
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What are background and foreground processes?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
Foreground processes: Run in the terminal and accept input
Background processes: Run independently without blocking terminal
# Run command in background
command & # Start in background
nohup command & # Continue after logout
# Job control
jobs # List current jobs
fg %1 # Bring job 1 to foreground
bg %1 # Send job 1 to background
Ctrl+Z # Suspend current process
Ctrl+C # Terminate current process
# Detach from terminal
nohup long_command > output.log 2>&1 &
disown %1 # Remove job from shell
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
How do you manage users and groups in Linux?
Answer it yourself first - out loud, or typed below.
How should your speech become text?
Listening… your words appear above as you speak - tap Stop when you're done.
Recording · cr - tap Stop & transcribe when you're done.
Transcribing with AI…
Voice:
Last attempt -
# User management
useradd username # Add new user
useradd -m -s /bin/bash username # Create with home directory
userdel username # Delete user
userdel -r username # Delete user and home directory
usermod -aG groupname username # Add user to group
passwd username # Change user password
chage -l username # View password aging info
# Group management
groupadd groupname # Create new group
groupdel groupname # Delete group
gpasswd -a username groupname # Add user to group
gpasswd -d username groupname # Remove user from group
# View user/group information
id username # Show user ID and groups
groups username # Show user's groups
getent passwd username # Get user info from database
getent group groupname # Get group info
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
What are the important user configuration files?
How do package managers work in different Linux distributions?
How do you manage system logs in Linux?
How do you monitor disk usage and performance?
How do you schedule tasks with cron?
What are special permissions (SUID, SGID, Sticky bit)?
What are hard links and soft links (symbolic links)?
What are daemons and how do you create one?
Explain process priorities and nice values.
How do you implement sudo access?
How do you compile and install software from source?
What are repositories and how do you manage them?
How do you configure network interfaces in Linux?
How do you troubleshoot network connectivity issues?
What are iptables and how do you configure basic firewall rules?
How do you configure SSH securely?
How do you monitor system performance and resource usage?
What are load averages and how do you interpret them?
How do you use sar for system activity reporting?
How do you configure log rotation?
How do you analyze logs for troubleshooting?
How do you manage disk partitions and file systems?
What is LVM and how do you use it?
What are different file system types and their use cases?
How do you implement basic Linux security hardening?
How do you write effective shell scripts for system administration?
How do you handle error checking in bash scripts?
How do you manage systemd services?
How do you create a custom systemd service?
How do you troubleshoot service startup issues?
How do you implement backup strategies in Linux?
How do you diagnose high CPU usage?
How do you troubleshoot memory issues?
How do you troubleshoot network connectivity issues?
What is PAM (Pluggable Authentication Modules)?
What tools do you use for performance tuning?
How do you use SELinux for security?
How do you implement and manage file system encryption?
How do you implement intrusion detection and monitoring?
How do you perform disaster recovery in Linux?
How do you troubleshoot boot issues in Linux?
How do you work with containers and Docker?
How do you implement high availability and clustering?
How do you implement automation with Ansible?
How do you tune Linux kernel parameters?
This answer is part of Pro.
The full written answer, with the trade-offs and follow-ups an interviewer will probe.
No matches
Try a different filter or search term.
45 of 52 Linux answers are in Pro.
Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.
- Full answers + code
- AI explanations, simpler or deeper
- 1,000 AI credits / month
- Cancel anytime
Change topic
Pick a different technology or stack. Your current topic stays put until you choose a new one.
MEAN
MongoDB, Express, Angular, Node.jsMERN
MongoDB, Express, React, Node.jsDjango
Python Full-Stack DevelopmentRuby on Rails
Convention over ConfigurationServerless on AWS
Serverless Architecture on AWSInterviewers also test these - they're common to every stack, whichever one you picked above.
Flutter Mobile
Flutter Cross-Platform Mobile DevelopmentInterviewers also test these - they're common to every stack, whichever one you picked above.
Spring Boot
Enterprise Java Development.NET
Microsoft EcosystemVue
Vue.js, Vite, TypeScript, Tailwind, Node.jsGo Backend
Golang, gRPC, PostgreSQL, Redis, RabbitMQInterviewers also test these - they're common to every stack, whichever one you picked above.
FastAPI
Python, FastAPI, SQLAlchemy, PostgreSQLReact Native
React, TypeScript, Redux, FirebaseiOS Native
Swift, SwiftUI, UIKit, FirebaseAndroid Native
Java, Jetpack Compose, FirebaseDevOps / Platform
Docker, Kubernetes, Terraform, CI/CDInterviewers also test these - they're common to every stack, whichever one you picked above.
AI Engineer
LLMs, RAG, Agents, EvalsAI-Powered Developer
Claude Code, Copilot, Agentic WorkflowsCore SWE Interview Prep
Data structures, algorithms, OS, concurrency, networking, gitInterviewers also test these - they're common to every stack, whichever one you picked above.
Interviewers also test these - they're common to every stack, whichever one you picked above.