System Management Commands
This section includes commands used for managing system processes and resources in Linux.
ps
: Displays running processes.
Example: `ps aux`
top
: Displays running processes in real-time.
kill
: Terminates a process.
Example: `kill 1234` (where 1234 is the PID of the process)
df
: Displays disk space usage.
Example: `df -h` (with human-readable units)
free
: Displays free and used memory.
Example: `free -h`
uptime
: Displays how long the system has been running.
reboot
: Reboots the system.
shutdown
: Shuts down the system.
Example: `shutdown -h now`