Managing Huge Log Files with Logrotate Instead of Truncation

Managing Huge Log Files with Logrotate Instead of Truncation

Some files on your Linux system just keep getting bigger and bigger. Log files and mail spools are just two examples. If you want an automated way to handle the issue, then use logrotate. It’s a fantastic utility that allows you to compress, or delete old log files, while keeping a specified number of backups automatically.

How to Change the Custom Logo Depending on the Page in WordPress

How to Change the Custom Logo Depending on the Page in WordPress

Normally, there’s no way to customize which site logo shows on different pages of your WordPress blog. However, this tutorial will show you how to achieve just that without a plugin, and just a single piece of code!

How to Empty a File in Linux – With and Without Erasing the Data

How to Empty a File in Linux – With and Without Erasing the Data

We often need to “empty” or truncate a file in Linux without deleting it. This article shows you how – first a simple way, and then using a method that actually scrubs the data from the file first. The catch is that if a running process has the file continuously open, it might require a more complicated solution.

Which are the Linux Executable Files, and How do We Create Them?

Which are the Linux Executable Files, and How do We Create Them?

Unlike Windows, Linux doesn’t have “exe” or “bat” extensions to designate which files are executable. Instead, ANY file can be made executable for one or more of its users. This tutorial shows you how to do this, and how to run the files once they have the right permissions.

How to Allow WordPress Users to Edit Only their Own Posts

How to Allow WordPress Users to Edit Only their Own Posts

WordPress editors can see and modify posts written by others. In this tutorial, I’ll show you how to prevent this, and how to make is so that users can’t even SEE the posts created by other people. Effectively creating a complete wall between users.

How to Find your IP Address and MAC Address in Linux

How to Find your IP Address and MAC Address in Linux

Finding your IP address in Linux can be confusing because there are so many different interfaces. In this article, I’ll show you simple commands for identifying your primary networking interface, and getting the IP as well as the MAC addresses. I’ll also show you how to get your remote SSH client IP address.

Page 1 of 12412345...102030...Last »