Complete Linux Administration Interview Preparation: 200+ Commands, Troubleshooting, LVM, NFS, SSH & Boot Issues
A complete Linux Admin interview preparation guide with 200+ real commands, troubleshooting scenarios, LVM/NFS/SSH/boot issue solutions, and real-world patching workflows.
1) 200+ Admin Commands (Most Asked in Interviews)
System Information
User & Group Management
File & Directory Management
Permissions
Network Commands
Disk & LVM
Package Management
Service Management
Logs
2) Troubleshooting Scenarios (Most Asked in Interviews)
Scenario 1: Server is Slow
Checklist:
Probable Reasons:
- High CPU load
- Memory leak
- I/O wait
- Zombie processes
Scenario 2: Application Not Accessible
Check service
Check port
Check firewall
Check SELinux
Scenario 3: Disk Full
Trim logs
Scenario 4: High CPU by a Process
Scenario 5: SSH Not Working
Check port config
Check firewall
Restart
Check key auth
3) LVM, NFS, SSH, Boot Issue Troubleshooting
LVM Troubleshooting
Not Enough Space in VG
LV Not Mounting
Extend File System
NFS Troubleshooting
Check NFS Mount
Check Firewall
Check SELinux
Permission Issues
SSH Troubleshooting
Permission Denied (publickey)
Check file permissions:
Host key mismatch
Boot Issues & GRUB Troubleshooting
Scenario: Kernel Panic
Run fsck:
Scenario: Wrong fstab Entry
Boot into rescue mode → edit with:
GRUB Not Loading
Reinstall GRUB:
Boot into Single-User Mode
At GRUB menu:
Press e → add rd.break
Change root password:
4) Real Patching & Maintenance Workflows
1) Pre-Patching Tasks
Check running users:
2) Kernel Update
3) Reboot Planning
- Communicate with team
- Create change ticket
- Get downtime approval
- Check services before reboot
4) Post-Patching Checks
Check application status:
5) Rollback Plan
- Boot from old kernel
- Disable problematic services
- Restore config backups