linuxcommands
This is an old revision of the document!
Linux Commands
Memory
dmidecode -t 17 | grep "Size:" grep Mem /proc/meminfo grep Swap /proc/meminfo grep HugePages_ /proc/meminfo
Processor
grep name /proc/cpuinfo | uniq grep process /proc/cpuinfo | wc -l
Services
journalctl -u <Service_Name> -n 100 -f systemctl list-units
SSH
sudo ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -N '' vi /etc/ssh/sshd_config systemctl restart ssh / sshd
Other
CTRL+ALT+F2 : Text based logon prompt journalctl -b -0 : Check last boot log
linuxcommands.1776680660.txt.gz · Last modified: by z0hpvk
