Category: Manuals

Get Device Information

Get Device Information

Get All Hardware Devices lspci Get Drives Info fdisk -l Get HDD Partitions Info df -h Get CPU Info cat /proc/cpuinfo Get Filesystems Info cat /proc/filesystems Configuration Info Sytem Configuration system-config-network system-config-display system-config-packages system-config-... Show …
Webmin Logo

[How To] Reset Webmin Password

Login into system as root or become superuser. su - or sudo su - Run Command RedHat distribution (i.e. Fedora, CentOS, Gentoo, etc.): /usr/libexec/webmin/changepass.pl /etc/webmin admin newpassword Debian distribution (i.e. Debian, Ubunto, etc.): /usr/share/webmin/changepass.pl /etc/webmin …
Files, Folders Management

Files, Folders Management

Append “Hello” to /hello.txt echo "Hello" >> /hello.txt Replace /hello.txt and put the “Hello” into the /hello.txt echo "Hello" > /hello.txt Show file info wc /root/anaconda-ks.cfg Delete file(s) rm *.txt rm lala.txt Create text file …
cpu

Get CPU Information

Get CPU Model cat "/proc/cpuinfo" | grep "model name" Get CPU Frequency cat "/proc/cpuinfo" | grep "cpu MHz" Get CPU Cache Size cat "/proc/cpuinfo" | grep "cache size"
RAM

Get RAM Information

Get RAM Information free -m free -mto | grep Mem: | awk '{ print $3 " MB" }' rusedram="$($_CMD free -mto | grep Mem: | awk '{ print $3 " MB" }')" rfreeram="$($_CMD free -mto …