From the course: Hands-On Linux: Build Real Command Line Confidence from Scratch
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
What is a Linux process? - Linux Tutorial
From the course: Hands-On Linux: Build Real Command Line Confidence from Scratch
What is a Linux process?
Every single thing happening on your Linux system right now is a process, your terminal process, the shell running inside it, another process, the command you just typed another one, even the thing that sits there, doing nothing waiting for you to log in a process. Linux is just processes all the way down. Once you understand how they work, you can see what your system's actually doing. Kill stuff that's misbehaving and run things in the background without tying up your terminal. Let's get into it. A process is just a running program, that's it. A program sitting on your hard drive is just a file. The moment you run it, the kernel loads it into memory, gives it a unique number, and now it's a process. When it finishes, it's gone. The unique number is called a PID, a process ID, and every process gets one. Let's look at it. This prints the PID of your current shell. That's the bash process you're sitting in right now. Every time you open the terminal, you get a new shell with a…