linux

Vim/Vi Show Line Numbers

Vim/Vi Show Line Numbers

Vim/Vi is a popular text editor for many Linux software developers and especially for system administrators. You feel need of Vim/Vi show line numbers feature enabled, if you are debugging some script. Today, we will teach you, how to display line numbers when you use vim/vi editor. Show or Hide Vim/Vi Line Numbers By default, Vim/Vi number lines aren’t displayed when you use the text editor. But there is a way for you to hide or display line numbers in vim whenever you want to. You don’t need root privileges, only thing you’ll need to equip yourself with is Vim/Vi …
Read More

Useful Exim Commands with Examples

Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix/Linux systems connected to the Internet. It is freely available under the terms of the GNU General Public Licence. Exim is used for locating the spam activity on the servers. There is a great deal of flexibility in the way mail can be routed, and there are extensive facilities for checking incoming mail. Exim can be installed in place of Sendmail, although the configuration of Exim is quite different. Usage of Exim command is very easy to manage. It is easy to identify the…
Read More
MySQL Update – MySQL Upgrade

MySQL Update – MySQL Upgrade

MySQL update process some times create issues like, MySQL server doesn't start. when you perform MySQL update using yum update or yum update mysql or yum update mysql-server before restarting or stopping server  , you need to run command mysql_upgrade or mysql_upgrade -uroot -p MySQL Update Errors some time mysql server stop and doesn't start and you are unable to perform mysql_upgrade command, you get error like this in mysql logs  /var/log/mysqld.log [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' [ERROR] Fatal error: mysql.user table is damaged.…
Read More