Category: How To

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
Read More

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)
Read More

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"
Read More