Linux & Shell interview questions

66 Linux & Shell questions from the DevOps & SRE bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which term means: "a running instance of a program with its own memory and PID"?

Junior
  1. A.Process
  2. B.Environment variable
  3. C.systemd unit
  4. D.Namespace (Linux)

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

5. Which term means: "a configuration describing a service or resource managed by systemd"?

Junior
  1. A.cgroup
  2. B.OOM killer
  3. C.systemd unit
  4. D.Pipe

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

8. Which term means: "the read, write, and execute bits controlling access for owner, group, and others"?

Junior
  1. A.Environment variable
  2. B.systemd unit
  3. C.File permissions
  4. D.cgroup

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

11. Which term means: "a named value in a shell session inherited by child processes"?

Junior
  1. A.Environment variable
  2. B.systemd unit
  3. C.Load average
  4. D.Pipe

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

14. Which term means: "a task scheduled to run at fixed times by the cron daemon"?

Junior
  1. A.Environment variable
  2. B.Cron job
  3. C.Exit code
  4. D.systemd unit

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

17. Which term means: "a shell operator that sends one command's output as the next command's input"?

Junior
  1. A.Process
  2. B.systemd unit
  3. C.Pipe
  4. D.Load average

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

20. Which term means: "a number a process returns where 0 means success and non-zero indicates an error"?

Mid
  1. A.Exit code
  2. B.Symlink
  3. C.OOM killer
  4. D.File permissions

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

23. Which term means: "an asynchronous notification like SIGTERM sent to a process to request an action"?

Mid
  1. A.Signal
  2. B.Environment variable
  3. C.OOM killer
  4. D.systemd unit

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

26. Which term means: "a file that points to another file or directory path"?

Mid
  1. A.Symlink
  2. B.Exit code
  3. C.File permissions
  4. D.Load average

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

29. Which term means: "a metric showing the average number of processes waiting to run over time"?

Mid
  1. A.Environment variable
  2. B.File permissions
  3. C.Exit code
  4. D.Load average

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Linux & Shell question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers