Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

mtr 736x270 - Run MTR (traceroute) every minute

Run MTR (traceroute) every minute

From time to time I’m experiencing Connection timed out errors in cPanel > Sent Summary and I need a way to run MTR at that exact time to troubleshoot the network problem. For this I can create a new script, mtr.sh: /usr/sbin/mtr -r -c 2...

chrome KRZ656D7Vo 736x491 - How to Enable/Disable debug mode in CakePHP

How to Enable/Disable debug mode in CakePHP

To enable debug mode in CakePHP go to config folder and open app.php find ‘debug’ => filter_var(env(‘DEBUG’, false), FILTER_VALIDATE_BOOLEAN), and change the value of debug false to true Older CakePHP versions To enable...

MobaXterm Personal 20.3 kv2c2lOpG8 736x325 - Bash script to check server load and notify by email

Bash script to check server load and notify by email

Shell scripts are always to handy to do some tasks on a Linux-based server for SysAdmins, they can automate everything they do frequently through a shell script. Here I’m going to share a simple script that I got from Muhammed Fasal to monitor...

select folders - dupeguru – find and remove duplicate files

dupeguru – find and remove duplicate files

DupeGuru is a simple application to locate all the duplicate files on your PC and delete them easily. The hard disk may be filled with duplicate files that are useless and use valuable space. If we try to locate these files manually would be an...

find locate linux - How to find files in Linux using locate or find commands

How to find files in Linux using locate or find commands

In Linux, there are a variety of commands to locate files, each with its own set of advantages and disadvantages. Some are only available in certain distributions, and others are not installed by default. Let’s start with the quickest approach...

MobaXterm Personal 20.3 ByCOPcuqOk 736x491 - Postfix Configuration settings to prevent incoming SPAM

Postfix Configuration settings to prevent incoming SPAM

In this post, I’ll share the configuration file I use for Postfix installations and highlight some of the directives I use to combat incoming SPAM. If you want to use it, go ahead. nano /etc/postfix/main.cf nano /etc/postfix/main.cf...

image 82 - Flush nscd DNS cache

Flush nscd DNS cache

name service cache daemon (nscd) cache is persistent by default on CentOS 7, to flush it, you need to run: nscd -i hosts -i stands for invalidate. You can also check if nscd‘s cache is persistent by running nscd -g...

image 79 736x491 - Change MySQL data directory in PHPMyAdmin

Change MySQL data directory in PHPMyAdmin

In a recent article, I discussed many methods for removing the large ibdata file, one of which involves transferring the MySQL data directory to a different partition. However, if you do so, you must also inform PHPMyAdmin of the location of the...