Catalog / System Administration Tools & Utilities Cheatsheet
System Administration Tools & Utilities Cheatsheet
A comprehensive cheat sheet covering essential system administration tools and utilities for managing and maintaining computer systems effectively, covering various operating systems and common tasks.
Process Management
Linux Process Commands
|
Display a snapshot of the current processes. |
|
Display dynamic real-time view of running processes. |
|
Interactive process viewer (needs installation). |
|
Terminate a process by its PID (Process ID). |
|
Kill all processes by name. |
|
Kill processes matching a pattern. |
|
Run a command with modified scheduling priority. (priority range: -20 to 19) |
|
Change the priority of an already running process. |
Windows Task Manager
Access by pressing Provides a GUI for viewing and managing processes, performance metrics, and startup applications. |
Key features include:
|
Command-line equivalent: |
Process Monitoring
|
Virtual memory statistics - reports memory, swap, IO, system, and CPU activity. |
|
Input/output statistics for block devices. |
|
Network statistics. |
|
Monitor disk I/O usage by process. (needs installation) |
|
Display bandwidth usage by host. (needs installation) |
|
Display the amount of free and used memory in the system (in MB). |
Networking Tools
Basic Networking Commands
|
Test network connectivity. |
|
Trace the route packets take to a host. |
|
Display listening ports and associated processes (Linux). |
|
Another tool to display listening ports and associated processes (Linux). |
|
Show network interfaces and IP addresses (Linux). |
|
Configure network interface parameters (deprecated, but still used). |
|
Query DNS servers to find IP addresses or other DNS records. |
|
More advanced DNS lookup utility. |
Windows Networking Commands
|
Display network configuration information. |
|
Test network connectivity. |
|
Trace the route packets take to a host. |
|
Display active network connections and listening ports. |
|
Query DNS servers. |
|
Provides information about network latency and packet loss at intermediate hops. |
Network Monitoring Tools
Wireshark: A powerful network protocol analyzer. Captures and analyzes network traffic in real-time. tcpdump: A command-line packet analyzer. Captures network traffic and saves it to a file for later analysis. |
Nmap: A network scanner. Discovers hosts and services on a computer network by sending packets and analyzing the responses. Nagios/Zabbix: Comprehensive network monitoring solutions. Monitor network services, servers, and other network devices. |
Disk and File System Management
Linux Disk Commands
|
Display disk space usage in a human-readable format. |
|
Display the disk usage of a directory in a human-readable format. |
|
List block devices. |
|
Partition table manipulator (replace /dev/sda with the appropriate device). |
|
Create an ext4 filesystem on a partition (replace /dev/sda1 with the appropriate partition). |
|
Mount a filesystem (replace /dev/sda1 and /mnt with appropriate values). |
|
Unmount a filesystem. |
|
Check and repair a filesystem. |
Windows Disk Management
Access via Provides a GUI for managing disks, partitions, and volumes. |
Key features include:
|
Command-line equivalent: |
File System Utilities
|
Find files by name in a directory. |
|
Search for a pattern in a file. |
|
Create a compressed tar archive. |
|
Extract a compressed tar archive. |
|
Synchronize files and directories. Can be used for backups. |
|
Change file permissions. |
|
Change file owner and group. |
User and Group Management
Linux User Management
|
Create a new user. |
|
Change a user’s password. |
|
Add a user to a group. |
|
Delete a user. |
|
Show user’s ID and group memberships. |
|
Switch to another user. |
|
Execute a command as the superuser. |
Linux Group Management
|
Create a new group. |
|
Rename a group. |
|
Delete a group. |
|
Display the groups a user belongs to. |
|
Get group information. |
Windows User Management
GUI: Use the ‘Local Users and Groups’ management console (
|
PowerShell:
|