Linux & Shell interview questions

66 real Linux & Shell questions from the DevOps & SRE bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Process?

Junior
  1. A.a shell operator that sends one command's output as the next command's input
  2. B.an asynchronous notification like SIGTERM sent to a process to request an action
  3. C.the kernel mechanism that terminates processes when the system runs out of memory
  4. D.a running instance of a program with its own memory and PID
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Process — a running instance of a program with its own memory and PID
  2. B.Process — a configuration describing a service or resource managed by systemd
  3. C.Process — a metric showing the average number of processes waiting to run over time
  4. D.Process — a task scheduled to run at fixed times by the cron daemon
Reveal the answer + AI explanation — free account

4. What is systemd unit?

Junior
  1. A.a configuration describing a service or resource managed by systemd
  2. B.the kernel mechanism that terminates processes when the system runs out of memory
  3. C.a number a process returns where 0 means success and non-zero indicates an error
  4. D.a kernel feature isolating processes' view of resources like PIDs and networks
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.systemd unit — a named value in a shell session inherited by child processes
  2. B.systemd unit — a kernel feature isolating processes' view of resources like PIDs and networks
  3. C.systemd unit — a metric showing the average number of processes waiting to run over time
  4. D.systemd unit — a configuration describing a service or resource managed by systemd
Reveal the answer + AI explanation — free account

7. What is File permissions?

Junior
  1. A.an asynchronous notification like SIGTERM sent to a process to request an action
  2. B.a kernel feature isolating processes' view of resources like PIDs and networks
  3. C.the read, write, and execute bits controlling access for owner, group, and others
  4. D.a task scheduled to run at fixed times by the cron daemon
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.File permissions — the read, write, and execute bits controlling access for owner, group, and others
  2. B.File permissions — a metric showing the average number of processes waiting to run over time
  3. C.File permissions — a named value in a shell session inherited by child processes
  4. D.File permissions — a shell operator that sends one command's output as the next command's input
Reveal the answer + AI explanation — free account

10. What is Environment variable?

Junior
  1. A.a kernel feature isolating processes' view of resources like PIDs and networks
  2. B.a named value in a shell session inherited by child processes
  3. C.a file that points to another file or directory path
  4. D.a metric showing the average number of processes waiting to run over time
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.Environment variable — a task scheduled to run at fixed times by the cron daemon
  2. B.Environment variable — a kernel feature limiting and isolating resource usage of process groups
  3. C.Environment variable — a shell operator that sends one command's output as the next command's input
  4. D.Environment variable — a named value in a shell session inherited by child processes
Reveal the answer + AI explanation — free account

13. What is Cron job?

Junior
  1. A.the kernel mechanism that terminates processes when the system runs out of memory
  2. B.a task scheduled to run at fixed times by the cron daemon
  3. C.a metric showing the average number of processes waiting to run over time
  4. D.a kernel feature limiting and isolating resource usage of process groups
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Junior
  1. A.Cron job — a file that points to another file or directory path
  2. B.Cron job — a running instance of a program with its own memory and PID
  3. C.Cron job — a task scheduled to run at fixed times by the cron daemon
  4. D.Cron job — a named value in a shell session inherited by child processes
Reveal the answer + AI explanation — free account

16. What is Pipe?

Junior
  1. A.a metric showing the average number of processes waiting to run over time
  2. B.a shell operator that sends one command's output as the next command's input
  3. C.a number a process returns where 0 means success and non-zero indicates an error
  4. D.an asynchronous notification like SIGTERM sent to a process to request an action
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Junior
  1. A.Pipe — a configuration describing a service or resource managed by systemd
  2. B.Pipe — a running instance of a program with its own memory and PID
  3. C.Pipe — a shell operator that sends one command's output as the next command's input
  4. D.Pipe — an asynchronous notification like SIGTERM sent to a process to request an action
Reveal the answer + AI explanation — free account

19. What is Exit code?

Mid
  1. A.a number a process returns where 0 means success and non-zero indicates an error
  2. B.a named value in a shell session inherited by child processes
  3. C.the read, write, and execute bits controlling access for owner, group, and others
  4. D.a file that points to another file or directory path
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.Exit code — a task scheduled to run at fixed times by the cron daemon
  2. B.Exit code — the read, write, and execute bits controlling access for owner, group, and others
  3. C.Exit code — a number a process returns where 0 means success and non-zero indicates an error
  4. D.Exit code — the kernel mechanism that terminates processes when the system runs out of memory
Reveal the answer + AI explanation — free account

22. What is Signal?

Mid
  1. A.a shell operator that sends one command's output as the next command's input
  2. B.a named value in a shell session inherited by child processes
  3. C.a task scheduled to run at fixed times by the cron daemon
  4. D.an asynchronous notification like SIGTERM sent to a process to request an action
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Mid
  1. A.Signal — a running instance of a program with its own memory and PID
  2. B.Signal — a configuration describing a service or resource managed by systemd
  3. C.Signal — a kernel feature limiting and isolating resource usage of process groups
  4. D.Signal — an asynchronous notification like SIGTERM sent to a process to request an action
Reveal the answer + AI explanation — free account

25. What is Symlink?

Mid
  1. A.a task scheduled to run at fixed times by the cron daemon
  2. B.a shell operator that sends one command's output as the next command's input
  3. C.the kernel mechanism that terminates processes when the system runs out of memory
  4. D.a file that points to another file or directory path
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.Symlink — a file that points to another file or directory path
  2. B.Symlink — a shell operator that sends one command's output as the next command's input
  3. C.Symlink — an asynchronous notification like SIGTERM sent to a process to request an action
  4. D.Symlink — the read, write, and execute bits controlling access for owner, group, and others
Reveal the answer + AI explanation — free account

28. What is Load average?

Mid
  1. A.a named value in a shell session inherited by child processes
  2. B.a file that points to another file or directory path
  3. C.a shell operator that sends one command's output as the next command's input
  4. D.a metric showing the average number of processes waiting to run over time
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Mid
  1. A.Load average — a file that points to another file or directory path
  2. B.Load average — a task scheduled to run at fixed times by the cron daemon
  3. C.Load average — a metric showing the average number of processes waiting to run over time
  4. D.Load average — a kernel feature limiting and isolating resource usage of process groups
Reveal the answer + AI explanation — free account

Showing 30 of 66 Linux & Shell questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Linux & Shell free