Tag Archives: command

Linux get hard disk statistics using Python

Today I wanted to collect disk usage information and send them to a remote server script. I used df command to collect disk usage information and Python to send them to a remote server. Note that the remote server script … Continue reading

Posted in Linux, Python, Ubuntu | Tagged , , , , , , , | Leave a comment

Import a large sql dump file to a MySQL database from command line

Today I had to import a very large SQL dump file (6 Gb) to a MySQL database using windows command line. If you are using linux it is the same. The process is the following: Open a command prompt (or … Continue reading

Posted in Databases, mysql | Tagged , , , , , , , , , , , , | 33 Comments

Ubuntu Debian Linux useful commands

UPDATE! Post has moved to https://manios.org/2012/08/10/ubuntu-linux-useful-commands

Posted in Linux | Tagged , , , , | Leave a comment