Posts for: #linux

Linux / emacs stuff

M-/ Completes the token (in emacs) or the directory in bash. less whatever.tar.gz This actually lists the files in the compressed archive! And here’s some useful keystrokes for emacs
[Read more]

Rescuing lost mysql root password

Run this: mysqld_safe --skip-grant-tables --user=root & Then: UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root'; FLUSH PRIVILEGES; Unfortunately, the info on the mysql site seems to be a bit wrong!
[Read more]