DevOps Roadmap — Part 3: Linux Users, Processes & System Control

DevOps engineers do not work as “admin always”. They work with **users, permissions, and controlled access**.

Understanding users and processes is what separates a beginner from a production engineer.


Linux Users — Why They Exist

Linux is a multi-user operating system. That means:

DevOps engineers NEVER run everything as root.


Check Current User

Who am I?
whoami

This command tells which user is currently logged in.


Important System Users

Running applications as root is dangerous.


Switching Users Safely

Switch to root (if allowed)
sudo su
Run single command as root
sudo apt update

sudo is the heart of DevOps safety.


Linux Processes — Programs in Action

Every running program is a process.

Web servers, databases, containers — everything runs as processes.

View running processes
ps aux
Live process monitoring
top

If a server is slow, process analysis is the first step.


Killing a Process (Carefully)

Kill process by PID
kill 1234
Force kill (dangerous)
kill -9 1234

Wrong kill command can crash production. Always double-check.


System Services (Background Programs)

Linux servers run services like:

Check service status
systemctl status ssh
Start service
sudo systemctl start nginx
Enable on boot
sudo systemctl enable nginx

Why This Matters for DevOps

CI/CD pipelines, containers, and cloud services all rely on:

If you skip this knowledge, DevOps becomes copy-paste chaos.


Next Step in Roadmap

Now that you understand Linux control, we move into networking — how servers talk to the world.

Next Part → Linux Networking for DevOps
Disclaimer:
Never experiment with kill commands or root access on production servers. Practice on local VM or cloud free tier only.