5th December 2010
in
Database, System, cli
By default, updatedb indexes only your root partition when run. To be able to extend locate’s reach and get updatedb to index external devices such as USB harddisks and flash drives, edit the /etc/updatedb.conf fil[...]
1 Comment
25th November 2010
in
Database, Hardware, Networking, System, cli
If you wish to monitor your Linux system in realtime, use dstat. Use a man dstat to see a list of possible options, since they are extensive and dstat can output system usage, memory usage, load times, network informatio[...]
No Comments
17th November 2008
in
Database, Multimedia, cli
This is a nice trick to easily access information about your multimedia files. Install the mplayer package then add the following to your ~/.bashrc file:
idmedia(){
mplayer -identify -frames 0 -ao null -vo null -vc du[...]
Tags: files, Multimedia
2 Comments
7th November 2008
in
Database
You forgot your MySQL password. No problem, you can recover it easily. Stop the MySQL service with
# /etc/init.d/mysql stop
…and restart it without a password:
# mysqld_safe –skip-grant-tables &
You’ll [...]
Tags: MySQL, passwords
2 Comments