Blog

Gnu/Linux commands for every day

Some general Linux related apps commands for easy remember MySQL Check and repair Mysql databases and tables mysqlcheck -A -p –auto-repair Optimize tables after delete large number of records to save space in disk mysql> use asteriskcdrdb; mysql> OPTIMIZE TABLE cdr; Users and privileges CREATE USER ‘username’@’localhost’ IDENTIFIED BY ‘password’;…

read more