Linux Tutorial — Part 10: Processes & Services

Every running program in Linux is a process. Servers live and die by process management.

1. What Is a Process?

A process is a running instance of a program. Each process has a unique PID.

2. Viewing Processes

ps aux

3. Real-Time Process Monitor

top

4. Killing a Process

kill 1234

5. Force Kill

kill -9 1234

6. Background Processes

command &

7. Services in Linux

Services are long-running background processes.

8. systemctl Basics

sudo systemctl status nginx
sudo systemctl start nginx
sudo systemctl stop nginx
sudo systemctl enable nginx

Professional Rule

Never kill random processes on production systems. Understand before acting.

Next: Networking Basics →
Disclaimer:
Improper process handling can crash systems.