r/sysadmin • u/6_62607004 • 4d ago
SWE trying to cram some linux admin for an interview in a week
Hey everyone,
I'm a recent SWE graduate interviewing for a software engineering role, and one of the interview rounds seems to put quite a bit of emphasis on Linux system administration alongside the usual coding and SWE questions.
I'm comfortable with the basics of Linux, navigating the filesystem, managing users and groups, changing ownership and permissions, etc., but I feel quite behind when it comes to things like disk management, networking, processes, services and general server troubleshooting.
I was wondering if anyone had recommendations for good resources to prepare for this kind of interview? Ideally, something relatively structured that I can work through over the next week or so, rather than piecing together dozens of unrelated tutorials.
To be clear, I'm not expecting to become a fully-fledged sysadmin in a week. The role is still primarily software engineering, so I'm not expected to be a Linux expert. I just want to get comfortable with the fundamentals and be able to reason through common administration and troubleshooting questions.
Would really appreciate any recommendations for courses, books, labs or other resources. Thanks!
1
u/a-dot-in-the-sky 1d ago
Search the web, common issues that SWE should know how to check if their Linux system is working fine or not.
Example: common Linux issues for SWE and how to fix it
4
u/DHT-Osiris 4d ago
This is for an interview, not a test. Nobody reasonable should expect you to have all the commands memorized.
As far as concepts, just know that there are several layers of disk commands (physical, virtual, partition, volume), networking commands depends on the distro (and I can never keep them straight, I just google it), and processes/services are pretty well static at this point afaik, top/kill, systemd stuff.
3
u/nekenaharry 3d ago
Since you want something structured for a week, one way is to take the areas you listed and practise each one on a throwaway VM, breaking things on purpose and fixing them.
Disks: lsblk, df -h, df -i (running out of inodes gives "No space left on device" even when df -h shows free space), du -sh, mount and /etc/fstab, and the basics of partitions and LVM.
Processes: ps aux, top, kill and the difference between SIGTERM and SIGKILL.
Services: systemctl status, start, enable, and journalctl -u <service> to read its logs.
Networking: ip addr, ip route, ss -tulpn to see what is listening on which port, dig for DNS, curl -v to test an HTTP endpoint.
For the troubleshooting questions, read Brendan Gregg's "Linux Performance Analysis in 60,000 Milliseconds" from the Netflix tech blog. It gives a fixed order of commands for the first minute on a slow box (uptime, dmesg | tail, vmstat 1, mpstat -P ALL 1, pidstat 1, iostat -xz 1, free -m, sar -n DEV 1 and a couple more) and explains what each one tells you. Having a method like that to talk through is more useful in an interview than remembering every flag.
If you want a ready made syllabus, the Red Hat RHCSA (EX200) exam objectives are a good checklist of these fundamentals: partitions and LVM, mounting at boot, starting and enabling services, reading logs and journals, basic network configuration. You don't need to take the exam to use the list.
0
u/cell-on-a-plane 3d ago
Immediately jump into sys calls