Some notes on Linux
Proc info: cat /proc/cpuinfo
Directory size: du
Free disk space: df
Test drive speed: hdparm -t -T
Change password: passwd (as root)
Delete anonymous mysql users: DELETE FROM mysql.user WHERE User = ‘’; (as root)
Change mysql root password: SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(’password’); (as root)
FTP commands to get multiple files: mget / mput
Use prompt n to turn off confirmations
Info about a package: rpm -q -i Download packages: RPMFind, Fedora. Install php-5.2: Download the latest version of glibc, then rpm -i –force –nodeps it and all other dependent modules. [I write this mostly for my own notes, but it might be useful for others as well]