Repair And Optimize All Tables In All MySQL Databases Using Command

August 1, 2011

There’s a simple command to automatically check, repair and optimize all tables in all databases when you’re running a MySQL server on Linux / Unix / BSD. mysqlcheck -u{username} -p{password} –check –optimize –auto-repair –all-databases

Read more →

How To Install TCP Discard Service

July 28, 2011

What’s Discard Protocol ? The Discard Protocol is a service in the Internet Protocol Suite defined in RFC 863. It is intended for testing, debugging, and measurement purposes. A host may send data to a host that supports the Discard Protocol on either Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) port number 9. […]

Read more →

How To Extract RAR Files Under Linux

May 30, 2011

RAR stands for Roshal ARchive. It is a proprietary archive file format that supports data compression, error recovery, and file spanning. It was developed by a Russian software engineer, Eugene Roshal (the first letter of his surname contributing to the name of the archive format), and is currently licensed by win.rar GmbH.

Read more →

How To Find The Linux Kernel Version ?

May 30, 2011

To find the linux kernel version, you should login and type the following command $ uname -r

Read more →

How To Display vi / vim Text Editor Line Numbers

May 30, 2011

Displaying line numbers in vi/vim can be very useful for debugging code errors and to improve overall readability of a program. For example, if we are writing C program or Shell script and want to check coding mistakes after running or compiling it, turning on or off this feature may help a lot to identify […]

Read more →

How To Mount A ISO Image Under Linux

May 27, 2011

An ISO image (International Organization for Standardization) is an archive file (also known as a disc image) of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system. ISO images can be created from optical discs, or can be used to recreate optical […]

Read more →

Sending A Message to All Users On Linux System

May 27, 2011

To send a message to all users on linux system, you can use wall command, which sends a message to everybody logged in with their mesg permission set to yes. The message can be given as an argument to wall, or it can be sent to wall’s standard input. When using the standard input from […]

Read more →