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

K3jiBTVg82 736x491 - Troubleshooting Inodes Usage on cPanel and CloudLinux

Troubleshooting Inodes Usage on cPanel and CloudLinux

An Inode is a data structure used to store the metadata of a file. in cPanel – inode number represents the collective number of files and folders present in your web hosting account. Check Inode usage inside cPanel Most cpanel...

Exim 736x474 - Exim log files and exigrep

Exim log files and exigrep

/var/log/exim_mainlog – logs every email that is processed by Exim/var/log/exim_rejectlog information about all rejected emails/var/log/exim_paniclog error related to Exim itself Exim has it’s own version of grep: exigrep...

du9 736x284 - Top 10 du commands in Linux

Top 10 du commands in Linux

Here are my top 10 du commands with examples: Disk usage for all files in dir This is the most basic usage of the du command: du /path/to/folder Human Readable format By default du command prints size in Disk Blocks, to use human-readable format...

notepad 23Z4fPgsFR - Different Ways to Check MySQL version in cPanel or Linux

Different Ways to Check MySQL version in cPanel or Linux

By far MySQL is the most popular Relational database management system and knowing which MySQL version you are running can be important in some situations. Here are different ways to check the version of the MySQL server installed on your WHM/...

php nadlers compared pcx3 736x203 - PHP handlers Compared

PHP handlers Compared

In plain English: PHP handlers are Apache modules that interpret and run PHP code. Using right PHP handler on your website can have a huge impact on the overall performance. In cPanel you can have different PHP versions with different handlers for...

Copyright David Farrell 2014

wget not working on Linux 😲

wget not working? Add user/agent, for example: Mozilla/5.0 wget -U Mozilla/5.0 or wget -U mozilla By default wget uses an uncommon user-agent Wget/VERSION, which due to various security policies some servers are blocking. To solve this, specify the...

rename session 736x450 - How to rename an existing screen session in Linux?

How to rename an existing screen session in Linux?

To create a named session use: screen -S testsession to list all session: # screen -ls There is a screen on: 19415.something (Detached) 1 Socket in /var/run/screen/S-root. to rename an active session use -X sessionname screen -S 19415.something -X...

df - du and df show different sizes

du and df show different sizes

ncdu / du and df show different sizes: du is reading information from the directory tree, it is more accurate than df but slower.df reads meta data of the file system therefore it is faster, but not that accurate because it works with blocks...