Top 10 Linux interview questions! (Part I)

Mohamed Abukar
5 min readJul 6, 2022

Linux is popular among other individuals in Tech because (in simple terms) it is fast and powerful. If you want to be a well-grounded DevOps/Cloud Engineer or even a Linux System Admin, these are some of the most underrated commands yet so powerful — you can test your Linux skills here. I have lately been conducting many interviews and here are some or close to some of the interview questions I would ask an individual to test their Linux knowledge.

Image creds: omgubuntu.co.uk

Note: I aim to create an ongoing knowledge/technical articles — aiming to begin with questions on hands-on commands rather than open-ended questions. Also, note, there are multiple answers to these questions or methods to solve the problem.

Image creds: e-careers.com

List of Questions:

  1. How to get your current IP address?
  2. How to list all open ports of your machine?
  3. How to list all open files on your machine?
  4. How to list all the network connections?
  5. How to get the version of your kernel or which UNIX distribution you are using?
  6. How to check for free disk space?

--

--

Mohamed Abukar

AWS Community Builder | Red Hat Accelerator | Platform Engineer @ Trainline