Restart Start Stop Mysqld From The Terminal in Linux

linux

You could need to restart MySQL server after installing, upgrading, or making some changes in my.cnf file in Linux. The quickest way to this is by typing on the command line terminal. No fancy graphic interface. MySQL Server Restart General Syntax The syntax is as follows. On the Linux or OS X type the following on…

How to change ownership of files with chown in linux

linux

File (directory) ownership is the foundations of every operating system. This post will teach you how to change file(s) ownership in Linux using the command chown. There are different scenarios when you would need to change the ownership of a file using either chown or chgrp. Note: you can change group ownership with the command…

How to remove a non empty directory in Linux

Removing directory in Linux is an easy thing. While trying to remove a directory using a command like rmdir seems to be the only one needed. In real world the directory in question is not empty. There are some files or other directories inside it. You will get warnings like ‘Directory not empty’ and will…