Home > Small handy linux tools

Small handy linux tools

I’ll be keeping a list here of the small Linux tools I often use so I don’t have to go searching around when I forget the name.


Color picker
apt-get install gcolor2


Extract server signatures from profile
ssh-keygen -l -f .ssh/known_hosts


Check processor speed and info
cat /proc/cpuinfo


apt-get install gkrellm

Crontab E in nano

... Never bothered to undestand vi ... if you’re in the same boat you may wonder how to edit crontab in nano.
env EDITOR=nano crontab -e

Mysql Restore database to different server

Mysql restore to other computer causes a problem because the linux "user" in charge of starting and shuting down mysql no has a different password for mysql and can’t access it.

Get info from:
cat /etc/mysql/debian.cnf
scroll down to:

user     = debian-sys-maint
password = thepassword
socket   = /var/run/mysqld/mysqld.sock
basedir  = /usr

mysql -u root -p MySqlRootPASSWORD

Then log into mysql and grant priveledges
GRANT SHUTDOWN ON *.* TO ’debian-sys-maint’@’localhost’ IDENTIFIED BY ’thepassword’;
GRANT SELECT ON `mysql`.`user` TO ’debian-sys-maint’@’localhost’ IDENTIFIED BY ’thepassword’;

... Hmm... by definition this page is for tools I forget the name of, so I can’t think of anymore at the moment. I’ll add more as I go searching for them.


copyright 2006 - 2020 Eerik Wissenz