Cheatography
https://cheatseheet.pages.dev
Linux commands for hardware and device management
CPU & Memory
Command |
Purpose |
|
CPU information |
|
Number of CPUs |
|
Memory usage |
|
Virtual memory statistics |
|
Load average |
Device Files
/dev/sda
/dev/nvme0n1
/dev/tty
/dev/null
/dev/random
/dev/urandom |
|
|
Storage Devices
Command |
Purpose |
|
List block devices |
|
UUIDs and filesystem types |
|
List partitions |
|
List partition tables |
|
Disk usage |
|
Directory size |
initramfs
dracut
update-initramfs
lsinitrd
mkinitcpio |
|
|
Hardware Detection
Command |
Purpose |
|
PCI devices |
|
USB devices |
|
Hardware inventory |
|
BIOS/DMI information |
|
Hardware details (if installed) |
|
Kernel hardware mesages |
udev
udevadm info
udevadm monitor
udevadm trigger
udevadm control |
|
|
Kernel Modules
Command |
Purpose |
|
List loaded modules |
|
Module information |
|
Load/unload modules with dependencies |
|
Insert module |
|
Remove module |
|
Build module dependency database |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by hlhlhl