What is the difference between a process and a thread?

IntermediateConceptLinux and shell
Answer

A process has its own memory space. Threads inside a process share memory and file descriptors. Linux schedules both as tasks; threads are created by clone() with shared address space.

All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell