Command chmod chmod – command changes the permissions of one or more files. Syntax chmod [-cfvR] permissions files Options -c displays only files with changed permissions. -f suppress
Command chgrp chgrp – command changes the owner group of one or more files. Syntax chgrp [-cfvR] group files Options -c displays only files with modified group owner.
Command cd cd – command changes the current directory. Syntax cd [directory] Description The command cd without the directory name changes the current directory to home directory of
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
To reset the password for Webmin, you can follow these steps: Open a terminal or command prompt on the server where Webmin is installed. Navigate to the Webmin
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)
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"