Stopping to autostart mysql service
(firstly u must be sure to there is a<strong> /etc/init.d/mysql or mysqld</strong> )
# chkconfig --list | grep mysqld
mysqld 0:off 1:off 2:off 3:on 4:on 5:on 6:off
# chkconfig --level 345 mysql off
error reading information on service mysql: No such file or directory
# chkconfig --level 345 mysqld off
# reboot
chkconfig
The chkconfig command can also be used to activate and deactivate services. If you use the chkconfig –list command, you will see a list of system services and whether they are started (on) or stopped (off) in runlevels 0-6 (at the end of the list, you will see a section for the services managed by xinetd.
(more…)
How to remove a directory in linux console
first look at rm command .
(more…)
if you get an error like this:
(more…)
how to flush your DNS and clear DNS cache in linux
get a console and type this command
(more…)