-
Retrieve system information:
Information Command System information uname -aOS version cat /etc/os-releaseHostname hostnamectl -
Retrieve hardware details:
Information Command CPU lscpuMemory (RAM) lsmemStorage (block) lsblkPCI devices lspci
-
Reboot the system:
sudo reboot
-
Shut down the system:
sudo poweroff
-
List running processes:
ps aux
-
Monitor ongoing processes:
top # Classic version htop # More modern and interactive version
-
Kill a process:
kill -9 "<PID>"
-
List all services:
systemctl list-units --type=service
-
Check service status:
systemctl status "<SERVICE>" -
Start/Stop/Restart a service:
Action Command Start sudo systemctl start "<SERVICE>"Stop sudo systemctl stop "<SERVICE>"Restart sudo systemctl restart "<SERVICE>" -
Enable/Disable a service on boot:
Action Command Enable sudo systemctl enable "<SERVICE>"Disable sudo systemctl disable "<SERVICE>"