Menu

1 / 2

Useful Linux Commands Every System Administrator Should Know

DEV Community·Sovrab Roy·6 months ago
#wpamGlJ3
#linux#devops#bash#security#enter
Reading 0:00
15s threshold

Useful Linux Commands Every System Administrator Should Know

Linux system administration becomes much easier when you know the right commands for monitoring, troubleshooting, and managing servers efficiently.

In this article, I’ll share some useful Linux commands that I regularly use while managing production servers and cloud infrastructure environments.

1. Check System Uptime

uptime

Enter fullscreen mode

Exit fullscreen mode

Displays:

server uptime

current load average

active users

Useful for quick server health checks.

2. Monitor Running Processes

htop

Enter fullscreen mode

Exit fullscreen mode

or

top

Enter fullscreen mode

Exit fullscreen mode

Helps identify:

high CPU usage

memory consumption

overloaded processes

3. Check Disk Usage

df -h

Enter fullscreen mode

Exit fullscreen mode

Displays disk space usage in human-readable format.

4. Analyze Directory Sizes

du -sh *

Enter fullscreen mode

Exit fullscreen mode

Very useful when troubleshooting storage problems.

5.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.