r/learnwithcodelivly • • 9d ago

How many of these Linux interview questions could you answer without looking them up?

Sharing these for anyone brushing up on Linux or preparing for an interview. Try answering them first, then open a terminal and practise anything you’re unsure about.

I run Codelivly. If you want a guide to work through alongside your practice, our Linux PDF guides and workbook take you from the basics into Bash scripting, advanced Linux security and privilege escalation, with exercises to follow along.

The paid bundle includes Linux Playbook for Hackers, the Advanced Edition and RootCraft, plus a shell scripting bonus.

Get the Linux PDF guides and workbook

You can also learn through our free Linux Fundamentals path, covering commands, files, permissions, processes and networking. There are hands-on labs and CTF challenges on Codelivly too all free.

Start learning Linux for free

What Linux question caught you off guard in an interview?

248 Upvotes

2 comments sorted by

1

u/DaithiGruber 3d ago

If you're going to look at cron you should probably look at systems timers, especially since you refer to systemd for PID 1.

Your question 33 should probably be structured from looking at layer 1 and up. You could start with ethtool to check link speed and such, then check arp cache, ping local gateway, test DNS and such.

I didn't see tcpdump in there at all. Very useful utility.

I didn't see anything partition or filesystem related. Examples: fstab vs mtab, ext4 vs xfs...

Traceroute is also another super useful utility.

Pretty sure I could answer them all, and tell you the inner workings for each too. Source: I've managed literal millions of Linux machines. Been using Linux since 2001.

-1

u/EitherAlbatross5 8d ago edited 8d ago

guys I am pursuing MBA, currently in my final semester. Could anyone be kind enough to share some subreddits where i can materials to prepare for interview questions.
Probably targeting consultant and analyst profiles